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