labelStyle method

NikuTextField labelStyle(
  1. TextStyle textStyle
)

Stying of label using TextStyle

Equivalent to

TextFieldForm(
  decoration: InputDecoration(
    labelStyle: input
  )
)

Implementation

NikuTextField labelStyle(TextStyle textStyle) {
  // Input Label Style
  _label_color = textStyle.color;
  _label_backgroundColor = textStyle.backgroundColor;
  _label_fontSize = textStyle.fontSize;
  _label_fontWeight = textStyle.fontWeight;
  _label_fontStyle = textStyle.fontStyle;
  _label_letterSpacing = textStyle.letterSpacing;
  _label_wordSpacing = textStyle.wordSpacing;
  _label_height = textStyle.height;
  _label_foreground = textStyle.foreground;
  _label_background = textStyle.background;
  _label_shadows = textStyle.shadows;
  _label_fontFeatures = textStyle.fontFeatures;
  _label_textDecoration = textStyle.decoration;
  _label_textDecorationColor = textStyle.decorationColor;
  _label_textDecorationThickness = textStyle.decorationThickness;
  _label_fontFamily = textStyle.fontFamily;
  _label_fontFamilyFallback = textStyle.fontFamilyFallback;
  _label_textBaseline = textStyle.textBaseline;

  return this;
}