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