getTextStyleFromScheme function
Implementation
TextStyle? getTextStyleFromScheme(FieldColorScheme? scheme) {
// If null return nothing
if (scheme == null) return null;
return TextStyle(
// Text colors
color: scheme.textColor,
);
}
TextStyle? getTextStyleFromScheme(FieldColorScheme? scheme) {
// If null return nothing
if (scheme == null) return null;
return TextStyle(
// Text colors
color: scheme.textColor,
);
}