labelStyle method
Stying of label using TextStyle
Equivalent to
TextFieldForm(
decoration: InputDecoration(
labelStyle: input
)
)
Implementation
NikuTextField labelStyle(TextStyle textStyle) {
// Input Label Style
this._label_color = textStyle.color;
this._label_backgroundColor = textStyle.backgroundColor;
this._label_fontSize = textStyle.fontSize;
this._label_fontWeight = textStyle.fontWeight;
this._label_fontStyle = textStyle.fontStyle;
this._label_letterSpacing = textStyle.letterSpacing;
this._label_wordSpacing = textStyle.wordSpacing;
this._label_height = textStyle.height;
this._label_foreground = textStyle.foreground;
this._label_background = textStyle.background;
this._label_shadows = textStyle.shadows;
this._label_fontFeatures = textStyle.fontFeatures;
this._label_textDecoration = textStyle.decoration;
this._label_textDecorationColor = textStyle.decorationColor;
this._label_textDecorationThickness = textStyle.decorationThickness;
this._label_fontFamily = textStyle.fontFamily;
this._label_fontFamilyFallback = textStyle.fontFamilyFallback;
this._label_textBaseline = textStyle.textBaseline;
return this;
}