hintStyle method
Stying of label using TextStyle
Equivalent to
TextFieldForm(
decoration: InputDecoration(
hintStyle: input
)
)
Implementation
NikuTextField hintStyle(TextStyle textStyle) {
// Input hint Style
_hint_color = textStyle.color;
_hint_backgroundColor = textStyle.backgroundColor;
_hint_fontSize = textStyle.fontSize;
_hint_fontWeight = textStyle.fontWeight;
_hint_fontStyle = textStyle.fontStyle;
_hint_letterSpacing = textStyle.letterSpacing;
_hint_wordSpacing = textStyle.wordSpacing;
_hint_height = textStyle.height;
_hint_foreground = textStyle.foreground;
_hint_background = textStyle.background;
_hint_shadows = textStyle.shadows;
_hint_fontFeatures = textStyle.fontFeatures;
_hint_textDecoration = textStyle.decoration;
_hint_textDecorationColor = textStyle.decorationColor;
_hint_textDecorationThickness = textStyle.decorationThickness;
_hint_fontFamily = textStyle.fontFamily;
_hint_fontFamilyFallback = textStyle.fontFamilyFallback;
_hint_textBaseline = textStyle.textBaseline;
return this;
}