textStyle abstract method

TextStyle textStyle(
  1. Color color,
  2. String? fontFamily
)

style for text label.

Warning: Override the text size can lead to layout overflow warning, you may need to update the height of bar too.

Implementation

TextStyle textStyle(Color color, String? fontFamily);