prefixStyle method

NikuTextField prefixStyle(
  1. TextStyle textStyle
)

The style to use for the prefixText

Equivalent to

TextFormField(
  decoration: InputDecoration(
    prefixStyle: input
  )
)

Implementation

NikuTextField prefixStyle(TextStyle textStyle) {
  // Input Label Style
  this._prefix_color = textStyle.color;
  this._prefix_backgroundColor = textStyle.backgroundColor;
  this._prefix_fontSize = textStyle.fontSize;
  this._prefix_fontWeight = textStyle.fontWeight;
  this._prefix_fontStyle = textStyle.fontStyle;
  this._prefix_letterSpacing = textStyle.letterSpacing;
  this._prefix_wordSpacing = textStyle.wordSpacing;
  this._prefix_height = textStyle.height;
  this._prefix_foreground = textStyle.foreground;
  this._prefix_background = textStyle.background;
  this._prefix_shadows = textStyle.shadows;
  this._prefix_fontFeatures = textStyle.fontFeatures;
  this._prefix_textDecoration = textStyle.decoration;
  this._prefix_textDecorationColor = textStyle.decorationColor;
  this._prefix_textDecorationThickness = textStyle.decorationThickness;
  this._prefix_fontFamily = textStyle.fontFamily;
  this._prefix_fontFamilyFallback = textStyle.fontFamilyFallback;
  this._prefix_textBaseline = textStyle.textBaseline;

  return this;
}