getTextStyle method

TextStyle getTextStyle(
  1. Color color
)

define text style

Implementation

TextStyle getTextStyle(Color color) {
  return TextStyle(fontSize: 10.0, color: color);
}