getTextStyle method

TextStyle getTextStyle(
  1. ColorScheme colors,
  2. bool disabled
)

Implementation

TextStyle getTextStyle(ColorScheme colors, bool disabled) {
  return TextStyle(fontSize: fontSize, color: disabled ? colors.onSurfaceVariant : colors.onSurface);
}