textStyle method
Set color of text
Equivalent to
TextStyle(color: input)
Implementation
NikuTextField textStyle(TextStyle textStyle) {
// Input hint Style
_base_color = textStyle.color;
_base_backgroundColor = textStyle.backgroundColor;
_base_fontSize = textStyle.fontSize;
_base_fontWeight = textStyle.fontWeight;
_base_fontStyle = textStyle.fontStyle;
_base_letterSpacing = textStyle.letterSpacing;
_base_wordSpacing = textStyle.wordSpacing;
_base_height = textStyle.height;
_base_foreground = textStyle.foreground;
_base_background = textStyle.background;
_base_shadows = textStyle.shadows;
_base_fontFeatures = textStyle.fontFeatures;
_base_textDecoration = textStyle.decoration;
_base_textDecorationColor = textStyle.decorationColor;
_base_textDecorationThickness = textStyle.decorationThickness;
_base_fontFamily = textStyle.fontFamily;
_base_fontFamilyFallback = textStyle.fontFamilyFallback;
_base_textBaseline = textStyle.textBaseline;
return this;
}