I'm using the google charts library for my flutter app and I'm trying to customize the styling of my lables.
But how can I change the fontweight of a TextStyleSpec? the parameter fontWeight asks for a String, I tried providing Bold, bold, 500, w500 but none work.