getTextStyleFromScheme function

TextStyle? getTextStyleFromScheme(
  1. FieldColorScheme? scheme
)

Implementation

TextStyle? getTextStyleFromScheme(FieldColorScheme? scheme) {
  // If null return nothing
  if (scheme == null) return null;

  return TextStyle(
    // Text colors
    color: scheme.textColor,
  );
}