counterStyle method
The style to use for the counterText
Equivalent to
TextFormField(
decoration: InputDecoration(
prefixStyle: input
)
)
Implementation
NikuTextField counterStyle(TextStyle textStyle) {
// Input Label Style
this._counter_color = textStyle.color;
this._counter_backgroundColor = textStyle.backgroundColor;
this._counter_fontSize = textStyle.fontSize;
this._counter_fontWeight = textStyle.fontWeight;
this._counter_fontStyle = textStyle.fontStyle;
this._counter_letterSpacing = textStyle.letterSpacing;
this._counter_wordSpacing = textStyle.wordSpacing;
this._counter_height = textStyle.height;
this._counter_foreground = textStyle.foreground;
this._counter_background = textStyle.background;
this._counter_shadows = textStyle.shadows;
this._counter_fontFeatures = textStyle.fontFeatures;
this._counter_textDecoration = textStyle.decoration;
this._counter_textDecorationColor = textStyle.decorationColor;
this._counter_textDecorationThickness = textStyle.decorationThickness;
this._counter_fontFamily = textStyle.fontFamily;
this._counter_fontFamilyFallback = textStyle.fontFamilyFallback;
this._counter_textBaseline = textStyle.textBaseline;
return this;
}