errorStyle method
Stying of label using TextStyle
Equivalent to
TextFieldForm(
decoration: InputDecoration(
errorStyle: input
)
)
Implementation
NikuTextField errorStyle(TextStyle textStyle) {
// Input Label Style
_error_color = textStyle.color;
_error_backgroundColor = textStyle.backgroundColor;
_error_fontSize = textStyle.fontSize;
_error_fontWeight = textStyle.fontWeight;
_error_fontStyle = textStyle.fontStyle;
_error_letterSpacing = textStyle.letterSpacing;
_error_wordSpacing = textStyle.wordSpacing;
_error_height = textStyle.height;
_error_foreground = textStyle.foreground;
_error_background = textStyle.background;
_error_shadows = textStyle.shadows;
_error_fontFeatures = textStyle.fontFeatures;
_error_textDecoration = textStyle.decoration;
_error_textDecorationColor = textStyle.decorationColor;
_error_textDecorationThickness = textStyle.decorationThickness;
_error_fontFamily = textStyle.fontFamily;
_error_fontFamilyFallback = textStyle.fontFamilyFallback;
_error_textBaseline = textStyle.textBaseline;
return this;
}