NikuTextField class

Niku extension for TextFormField

Style property builder for building TextFormField

Example usage:

NikuTextField("Hello")
  .border(
    OutlineInputBorder(
      borderSide: BorderSide(
        width: 2
      )
    )
  )
  .focusedBorder(OutlineInputBorder(
    borderSide: BorderSide(
      color: Colors.blue,
      width: 2)
    )
  )
  .build()

Meta property list:

  • niku() - Switch to Niku() property
  • build() - Apply styles and build Text as Widget
  • apply() - Apply existing NikuText's property to current style
  • style() - Apply existing NikuText's property to current style and build

Style Property list:

  • controller - Controller for editable text field
  • initialValue - Initial value of text field
  • focusNode - An object that can be used by a stateful widget to obtain the keyboard focus and to handle keyboard events
  • keyboardType - The type of information for which to optimize the text input control
  • textCapitalization - Configures how the platform keyboard will select an uppercase or lowercase keyboard
  • textDirection - Set whether text is left-to-right or right-to-left direction.
    • textDirection - Set textDirection by using TextDirection
    • ltr - Use left-to-right direction
    • rtl - Use right-to-left direction
  • textAlign, align - Set alignment of text
    • alignLeft, left - Set alignment to left
    • alignCenter, center - Set alignment to center
    • alignRight, right - Set alignment to right
    • alignStart, start - Set alignment to start, suitable for dynamic TextDirection
    • alignEnd, end - Set alignment to end, suitable for dynamic TextDirection
    • alignJustify, justify - Set alignment to justify
  • autofocus - Should textfield be autofocus
  • readOnly - Should textfield be readonly
  • toolbarOptions - Toolbar is a context menu that will show up when user right click or long press the EditableText. It includes several options: cut, copy, paste, and select all
  • showCursor - Should textfield cursor be showned
  • obscuringCharacter - Display of "hidden" character like password
  • obscureText - Should text be obscure eg. password field
  • autoCorrect - Should autocorrect apply to textfield
  • smartDashesType - Indicates how to handle the intelligent replacement of dashes in text input
  • smartQuotesType - Indicates how to handle the intelligent replacement of quotes in text input
  • enableSuggestion - Should suggestion be used
  • maxLengthEnforced - If true, prevents the field from allowing more than maxLength characters
  • maxLines - The maximum number of lines for the text to span, wrapping if necessary
  • minLines - The minimum number of lines to occupy when the content spans fewer lines
  • expands - Whether this widget's height will be sized to fill its parent
  • maxLength - The maximum number of characters (Unicode scalar values) to allow in the text field
  • on - Listeners of TextField
    • on - Set multiple listener of TextField at once
    • onChanged - Called when the value of textfield is changed
    • onTap - Called for each distinct tap except for every second tap of a double tap
    • onEditingComplete - Called when the user submits editable content (e.g., user presses the "done" button on the keyboard)
    • onSubmitted, onFieldSubmitted - Called when the user indicates that they are done editing the text in the field
    • onSaved - call with the final value when the form is saved via FormState.save
  • validator - An optional method that validates an input. Returns an error string to display if the input is invalid, or null otherwise
  • inputFormmaters - Optional input validation and formatting overrides
  • enabled - If false the text field is "disabled": it ignores taps and its decoration is rendered in grey
  • cursor - Appearance of cursor
    • cursor - Set property of cursor at once
    • cursorWidth - How thick the cursor will be
    • cursorHeight - How tall the cursor will be
    • cursorRadius - How rounded the corners of the cursor should be
      • cursorRounded - Shorten of .cursorRadius, how rounded the corners of the cursor should be
    • cursorColor - Color of cursor
  • keyboardAppearance - The appearance of the keyboard, only honored on iOS devices
    • lightKeyboard - Use light-theme keyboard
    • darkKeyboard - Use dark-theme keyboard
  • scrollPadding - Configures padding to edges surrounding a Scrollable when the Textfield scrolls into view
  • scrollP - Shorten for scrollPadding accepting shorten padding applying to all side
  • enableInteractiveSelection - Whether to enable user interface affordances for changing the text selection
  • buildCounter - Callback that generates a custom InputDecoration.counter widget
  • scrollPhysics - The ScrollPhysics to use when vertically scrolling the input
  • autoFillHints - A list of strings that helps the autofill service identify the type of this text input
  • autoValidateMode - Validation of value of field

InputDecoration property builder

  • icon - An icon to show before the input field and outside of the decoration's container

  • labelText - Label text

  • labelStyle - Stying of label using TextStyle

    • labelStyle - Set labelStyle using TextStyle
    • labelColor - Color of text
    • labelFontSize - Set text size
    • labelFontWeight - Font weight
      • labelFontWeight - Set font weight of text
      • labelBold - Set font to bold, equivalent to w700()
      • labelW100 - Use font weight of 100
      • labelW200 - Use font weight of 200
      • labelW300 - Use font weight of 300
      • labelW400 - Use font weight of 400
      • labelW500 - Use font weight of 500
      • labelW600 - Use font weight of 600
      • labelW700 - Use font weight of 700
      • labelW800 - Use font weight of 800
      • labelW900 - Use font weight of 900
    • labelFontWeight - The thickness of the glyphs used to draw the text
    • labelFontStyle - Whether to slant the glyphs in the font
      • labelFontStyle - Use FontStyle to apply
      • labelItalic - Use italic style
    • labelLetterSpacing - Spacing for each letter
    • labelWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • labelTextBaseline - A horizontal line used for aligning text
  • hintText - Hint text

  • hintMaxLines - Maximum line of hint text

  • hintStyle - Stying of hint using TextStyle

    • hintStyle - Set hintStyle using TextStyle
    • hintColor - Color of text
    • hintFontSize - Set text size
    • hintFontWeight - Font weight
      • hintFontWeight - Set font weight of text
      • hintBold - Set font to bold, equivalent to w700()
      • hintW100 - Use font weight of 100
      • hintW200 - Use font weight of 200
      • hintW300 - Use font weight of 300
      • hintW400 - Use font weight of 400
      • hintW500 - Use font weight of 500
      • hintW600 - Use font weight of 600
      • hintW700 - Use font weight of 700
      • hintW800 - Use font weight of 800
      • hintW900 - Use font weight of 900
    • hintFontWeight - The thickness of the glyphs used to draw the text
    • hintFontStyle - Whether to slant the glyphs in the font
      • hintFontStyle - Use FontStyle to apply
      • hintItalic - Use italic style
    • hintLetterSpacing - Spacing for each letter
    • hintWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • hintTextBaseline - A horizontal line used for aligning text
  • helperText - Helper text

  • helperMaxLines - Maximum line of helper text

  • helperStyle - Stying of helper using TextStyle

    • helperStyle - Set helperStyle using TextStyle
    • helperColor - Color of text
    • helperFontSize - Set text size
    • helperFontWeight - Font weight
      • helperFontWeight - Set font weight of text
      • helperBold - Set font to bold, equivalent to w700()
      • helperW100 - Use font weight of 100
      • helperW200 - Use font weight of 200
      • helperW300 - Use font weight of 300
      • helperW400 - Use font weight of 400
      • helperW500 - Use font weight of 500
      • helperW600 - Use font weight of 600
      • helperW700 - Use font weight of 700
      • helperW800 - Use font weight of 800
      • helperW900 - Use font weight of 900
    • helperFontWeight - The thickness of the glyphs used to draw the text
    • helperFontStyle - Whether to slant the glyphs in the font
      • helperFontStyle - Use FontStyle to apply
      • helperItalic - Use italic style
    • helperLetterSpacing - Spacing for each letter
    • helperWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • helperTextBaseline - A horizontal line used for aligning text
  • errorText - Error text

  • errorMaxLines - Maximum line of error text

  • errorStyle - Stying of error using TextStyle

    • errorStyle - Set errorStyle using TextStyle
    • errorColor - Color of text
    • errorFontSize - Set text size
    • errorFontWeight - Font weight
      • errorFontWeight - Set font weight of text
      • errorBold - Set font to bold, equivalent to w700()
      • errorW100 - Use font weight of 100
      • errorW200 - Use font weight of 200
      • errorW300 - Use font weight of 300
      • errorW400 - Use font weight of 400
      • errorW500 - Use font weight of 500
      • errorW600 - Use font weight of 600
      • errorW700 - Use font weight of 700
      • errorW800 - Use font weight of 800
      • errorW900 - Use font weight of 900
    • errorFontWeight - The thickness of the glyphs used to draw the text
    • errorFontStyle - Whether to slant the glyphs in the font
      • errorFontStyle - Use FontStyle to apply
      • errorItalic - Use italic style
    • errorLetterSpacing - Spacing for each letter
    • errorWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • errorTextBaseline - A horizontal line used for aligning text
  • floatingLabelBehavior - Defines the behavior of the floating label

  • isCollapsed - Whether the decoration is the same size as the input field

  • isDense - Whether the InputDecorator.child is part of a dense form (i.e., uses less vertical space)

  • contentPadding - The padding for the input decoration's container

  • prefixIcon - An icon that appears before the prefix or prefixText and before the editable part of the text field, within the decoration's container

  • prefixIconConstraints - The constraints for the prefix icon

  • prefix - Optional widget to place on the line before the input

  • prefixText - Optional text prefix to place on the line before the input

  • prefixStyle - Stying of prefix using TextStyle

    • prefixStyle - Set prefixStyle using TextStyle
    • prefixColor - Color of text
    • prefixFontSize - Set text size
    • prefixFontWeight - Font weight
      • prefixFontWeight - Set font weight of text
      • prefixBold - Set font to bold, equivalent to w700()
      • prefixW100 - Use font weight of 100
      • prefixW200 - Use font weight of 200
      • prefixW300 - Use font weight of 300
      • prefixW400 - Use font weight of 400
      • prefixW500 - Use font weight of 500
      • prefixW600 - Use font weight of 600
      • prefixW700 - Use font weight of 700
      • prefixW800 - Use font weight of 800
      • prefixW900 - Use font weight of 900
    • prefixFontWeight - The thickness of the glyphs used to draw the text
    • prefixFontStyle - Whether to slant the glyphs in the font
      • prefixFontStyle - Use FontStyle to apply
      • prefixItalic - Use italic style
    • prefixLetterSpacing - Spacing for each letter
    • prefixWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • prefixTextBaseline - A horizontal line used for aligning text
  • suffixIcon - An icon that appears before the suffix or suffixText and before the editable part of the text field, within the decoration's container

  • suffixIconConstraints - The constraints for the suffix icon

  • suffix - Optional widget to place on the line before the input

  • suffixText - Optional text suffix to place on the line before the input

  • suffixStyle - Stying of suffix using TextStyle

    • suffixStyle - Set suffixStyle using TextStyle
    • suffixColor - Color of text
    • suffixFontSize - Set text size
    • suffixFontWeight - Font weight
      • suffixFontWeight - Set font weight of text
      • suffixBold - Set font to bold, equivalent to w700()
      • suffixW100 - Use font weight of 100
      • suffixW200 - Use font weight of 200
      • suffixW300 - Use font weight of 300
      • suffixW400 - Use font weight of 400
      • suffixW500 - Use font weight of 500
      • suffixW600 - Use font weight of 600
      • suffixW700 - Use font weight of 700
      • suffixW800 - Use font weight of 800
      • suffixW900 - Use font weight of 900
    • suffixFontWeight - The thickness of the glyphs used to draw the text
    • suffixFontStyle - Whether to slant the glyphs in the font
      • suffixFontStyle - Use FontStyle to apply
      • suffixItalic - Use italic style
    • suffixLetterSpacing - Spacing for each letter
    • suffixWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • suffixTextBaseline - A horizontal line used for aligning text
  • counter - Optional custom counter widget to go in the place otherwise occupied by counterText. If this property is non null, then counterText is ignored.

  • counterText - Optional custom counter widget to go in the place otherwise occupied by counterText. If this property is non null, then counterText is ignored

  • counterStyle - Stying of counter using TextStyle

    • counterStyle - Set counterStyle using TextStyle
    • counterColor - Color of text
    • counterFontSize - Set text size
    • counterFontWeight - Font weight
      • counterFontWeight - Set font weight of text
      • counterBold - Set font to bold, equivalent to w700()
      • counterW100 - Use font weight of 100
      • counterW200 - Use font weight of 200
      • counterW300 - Use font weight of 300
      • counterW400 - Use font weight of 400
      • counterW500 - Use font weight of 500
      • counterW600 - Use font weight of 600
      • counterW700 - Use font weight of 700
      • counterW800 - Use font weight of 800
      • counterW900 - Use font weight of 900
    • counterFontWeight - The thickness of the glyphs used to draw the text
    • counterFontStyle - Whether to slant the glyphs in the font
      • counterFontStyle - Use FontStyle to apply
      • counterItalic - Use italic style
    • counterLetterSpacing - Spacing for each letter
    • counterWordSpacing - Spacing for each word
    • hintHeight - Fixed height for text
    • hintForeground - The paint drawn as a foreground for the text
    • hintBackground - The paint drawn as a background for the text
    • counterTextBaseline - A horizontal line used for aligning text
  • filled - If true the decoration's container is filled with fillColor

  • fillColor - The base fill color of the decoration's container color

    • setFillColor - Set multiple FillColor at once
    • fillColor - The base fill color of the decoration's container color
    • hoverColor - The base fill color of the decoration's container color when hovered
    • focusColor - The base fill color of the decoration's container color when focused
  • border - The shape of the border to draw around the decoration's container

    • setBorder - Set multiple InputDecoration at once
    • border - The shape of the border to draw around the decoration's container
    • enabledBorder - The border to display when the InputDecorator is enabled and is not showing an error
    • disabledBorder - The border to display when the InputDecorator is disabled and is not showing an error
    • focusedBorder - The border to display when the InputDecorator has the focus and is not showing an error
    • errorBorder - The border to display when the InputDecorator does not have the focus and is showing an error
  • inputDecorationEnable - If false helperText, errorText, and counterText are not displayed, and the opacity of the remaining visual elements is reduced

  • semanticCounterText - A semantic label for the counterText

  • alignLabelWithHint - Align label as same level as hint

  • color - Color of text

  • bg, backgroundColor - Background color of text

  • fontSize - Set text size

  • fontWeight - Font weight

    • fontWeight - Set font weight of text
    • bold - Set font to bold, equivalent to w700()
    • w100 - Use font weight of 100
    • w200 - Use font weight of 200
    • w300 - Use font weight of 300
    • w400 - Use font weight of 400
    • w500 - Use font weight of 500
    • w600 - Use font weight of 600
    • w700 - Use font weight of 700
    • w800 - Use font weight of 800
    • w900 - Use font weight of 900
  • fontWeight - The thickness of the glyphs used to draw the text

  • fontStyle - Whether to slant the glyphs in the font

    • fontStyle - Use FontStyle to apply
    • italic - Use italic style
  • letterSpacing - Spacing for each letter

  • wordSpacing - Spacing for each word

  • height - Fixed height for text

  • foreground - The paint drawn as a foreground for the text

  • background - The paint drawn as a background for the text

  • textBaseline - A horizontal line used for aligning text

Constructors

NikuTextField([String label = ""])
Niku extension for TextFormField

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addressKeyboard() NikuTextField
The type of information for which to optimize the text input control
align(TextAlign textAlign) NikuTextField
The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
alignCenter() NikuTextField
Set alignment to center
alignEnd() NikuTextField
Set alignment to end, suitable for dynamic TextDirection
alignJustify() NikuTextField
Set alignment to justify
alignLabelWithHint(bool enable) NikuTextField
Align label as same level as hint
alignLeft() NikuTextField
Set alignment to left
alignRight() NikuTextField
Set alignment to right
alignStart() NikuTextField
Set alignment to start, suitable for dynamic TextDirection
allowCopy([bool value = false]) NikuTextField
Set ToolbarOptions.copy
allowCut([bool value = false]) NikuTextField
Set ToolbarOptions.cut
allowPaste([bool value = false]) NikuTextField
Set ToolbarOptions.paste
allowSelectAll([bool value = false]) NikuTextField
Set ToolbarOptions.selectAll
alphabetic() NikuTextField
Using TextBaseline.alphabetic
alwaysValidate() NikuTextField
Validation of value of field
apply(NikuTextField instance) NikuTextField
Apply existing NikuTextField's property to current style
autoCorrect(bool autoCorrect) NikuTextField
Should autocorrect apply to textfield
autoFillHints(Iterable<String> autofillHints) NikuTextField
A list of strings that helps the autofill service identify the type of this text input
autofocus(bool autofocus) NikuTextField
Should textfield be autofocus
autoValidateMode(AutovalidateMode autovalidateMode) NikuTextField
Validation of value of field
background(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • backgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    bg(Color backgroundColor) NikuTextField
    Set background color of text
    bold() NikuTextField
    Set font to bold, using FontWeight.bold
    border(InputBorder border) NikuTextField
    The shape of the border to draw around the decoration's container
    build({Key? key}) TextFormField
    Apply styles and build Text as Widget
    buildCounter(InputCounterWidgetBuilder builder) NikuTextField
    Callback that generates a custom InputDecoration.counter widget
    capitalizeCharacters() NikuTextField
    Configures how the platform keyboard will select an uppercase or lowercase keyboard
    capitalizeNone() NikuTextField
    Configures how the platform keyboard will select an uppercase or lowercase keyboard
    capitalizeSentences() NikuTextField
    Configures how the platform keyboard will select an uppercase or lowercase keyboard
    capitalizeWords() NikuTextField
    Configures how the platform keyboard will select an uppercase or lowercase keyboard
    center() NikuTextField
    Set alignment to center
    color(Color color) NikuTextField
    Set color of text
    contentPadding(EdgeInsetsGeometry padding) NikuTextField
    The padding for the input decoration's container
    controller(TextEditingController controller) NikuTextField
    Controller for ediable text field
    counter(Widget counter) NikuTextField
    Optional custom counter widget to go in the place otherwise occupied by counterText. If this property is non null, then counterText is ignored.
    counterAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    counterBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • counterBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    counterBg(Color backgroundColor) NikuTextField
    Set background color of text
    counterBold() NikuTextField
    Set font to bold, using FontWeight.bold
    counterColor(Color color) NikuTextField
    Set color of text
    counterFontFamily(String fontFamily) NikuTextField
    Apply font to text
    counterFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    counterFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    counterFontSize(double fontSize) NikuTextField
    Set size of text
    counterFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    counterFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    counterForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • counterHeight(double height) NikuTextField
    Fixed height for text
    counterIdeographic() NikuTextField
    Using TextBaseline.ideographic
    counterItalic() NikuTextField
    Whether to slant the glyphs in the font
    counterLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    counterShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    counterStyle(TextStyle textStyle) NikuTextField
    The style to use for the counterText
    counterText(String counterText) NikuTextField
    Optional custom counter widget to go in the place otherwise occupied by counterText. If this property is non null, then counterText is ignored
    counterTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    counterTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    counterTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    counterTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    counterW100() NikuTextField
    Use font weight of 100
    counterW200() NikuTextField
    Use font weight of 200
    counterW300() NikuTextField
    Use font weight of 300
    counterW400() NikuTextField
    Use font weight of 400
    counterW500() NikuTextField
    Use font weight of 500
    counterW600() NikuTextField
    Use font weight of 600
    counterW700() NikuTextField
    Use font weight of 700
    counterW800() NikuTextField
    Use font weight of 800
    counterW900() NikuTextField
    Use font weight of 900
    counterWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    cursor({double width = 2, double? height, Radius? radius, Color? color}) NikuTextField
    Set property of cursor at once
    cursorColor(Color color) NikuTextField
    Color of cursor
    cursorHeight(double cursorHeight) NikuTextField
    How tall the cursor will be
    cursorRadius(Radius cursorRadius) NikuTextField
    How rounded the corners of the cursor should be
    cursorRounded(double radius) NikuTextField
    How rounded the corners of the cursor should be. Shorten of .cursorRadius
    cursorWidth(double cursorWidth) NikuTextField
    How thick the cursor will be
    darkKeyboard() NikuTextField
    The appearance of the keyboard, only honored on iOS devices
    dateTimeKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    disabledBorder(InputBorder border) NikuTextField
    The border to display when the InputDecorator is disabled and is not showing an error
    disabledValidate() NikuTextField
    Validation of value of field
    disableSmartDashes() NikuTextField
    Indicates how to handle the intelligent replacement of dashes in text input
    disableSmartQuotes() NikuTextField
    Indicates how to handle the intelligent replacement of quotes in text input
    emailKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    enabled(bool enabled) NikuTextField
    If false the text field is "disabled": it ignores taps and its decoration is rendered in grey
    enabledBorder(InputBorder border) NikuTextField
    The border to display when the InputDecorator is enabled and is not showing an error
    enableInteractiveSelection(bool enabled) NikuTextField
    Whether to enable user interface affordances for changing the text selection
    enableSmartDashes() NikuTextField
    Indicates how to handle the intelligent replacement of dashes in text input
    enableSmartQuotes() NikuTextField
    Indicates how to handle the intelligent replacement of quotes in text input
    enableSuggestions(bool suggestion) NikuTextField
    Should suggestion be used
    end() NikuTextField
    Set alignment to end, suitable for dynamic TextDirection
    errorAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    errorBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • errorBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    errorBg(Color backgroundColor) NikuTextField
    Set background color of text
    errorBold() NikuTextField
    Set font to bold, using FontWeight.bold
    errorBorder(InputBorder border) NikuTextField
    The shape of the border to draw aroudn the decorations' container
    errorColor(Color color) NikuTextField
    Set color of text
    errorFontFamily(String fontFamily) NikuTextField
    Apply font to text
    errorFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    errorFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    errorFontSize(double fontSize) NikuTextField
    Set size of text
    errorFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    errorFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    errorForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • errorHeight(double height) NikuTextField
    Fixed height for text
    errorIdeographic() NikuTextField
    Using TextBaseline.ideographic
    errorItalic() NikuTextField
    Whether to slant the glyphs in the font
    errorLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    errorMaxLines(int maxLines) NikuTextField
    Maximum line of helper text
    errorShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    errorStyle(TextStyle textStyle) NikuTextField
    Stying of label using TextStyle
    errorText(String errorText) NikuTextField
    Error text
    errorTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    errorTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    errorTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    errorTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    errorW100() NikuTextField
    Use font weight of 100
    errorW200() NikuTextField
    Use font weight of 200
    errorW300() NikuTextField
    Use font weight of 300
    errorW400() NikuTextField
    Use font weight of 400
    errorW500() NikuTextField
    Use font weight of 500
    errorW600() NikuTextField
    Use font weight of 600
    errorW700() NikuTextField
    Use font weight of 700
    errorW800() NikuTextField
    Use font weight of 800
    errorW900() NikuTextField
    Use font weight of 900
    errorWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    expands(bool expands) NikuTextField
    Whether this widget's height will be sized to fill its parent
    fillColor(Color color) NikuTextField
    The base fill color of the decoration's container color
    filled(bool filled) NikuTextField
    If true the decoration's container is filled with fillColor
    floatingLabelBehavior(FloatingLabelBehavior behavior) NikuTextField
    Defines the behavior of the floating label
    focusColor(Color color) NikuTextField
    The base fill color of the decoration's container color when focused
    focusedBorder(InputBorder border) NikuTextField
    The border to display when the InputDecorator has the focus and is not showing an error
    focusNode(FocusNode focusNode) NikuTextField
    An object that can be used by a stateful widget to obtain the keyboard focus and to handle keyboard events
    fontFamily(String fontFamily) NikuTextField
    Apply font to text
    fontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    fontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    fontSize(double fontSize) NikuTextField
    Set size of text
    fontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    fontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    foreground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • height(double height) NikuTextField
    Fixed height for text
    helperAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    helperBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • helperBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    helperBg(Color backgroundColor) NikuTextField
    Set background color of text
    helperBold() NikuTextField
    Set font to bold, using FontWeight.bold
    helperColor(Color color) NikuTextField
    Set color of text
    helperFontFamily(String fontFamily) NikuTextField
    Apply font to text
    helperFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    helperFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    helperFontSize(double fontSize) NikuTextField
    Set size of text
    helperFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    helperFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    helperForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • helperHeight(double height) NikuTextField
    Fixed height for text
    helperIdeographic() NikuTextField
    Using TextBaseline.ideographic
    helperItalic() NikuTextField
    Whether to slant the glyphs in the font
    helperLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    helperMaxLines(int maxLines) NikuTextField
    Maximum line of helper text
    helperShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    helperStyle(TextStyle textStyle) NikuTextField
    Dtyling of hint using TextStyle
    helperText(String helperText) NikuTextField
    Helper text
    helperTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    helperTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    helperTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    helperTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    helperW100() NikuTextField
    Use font weight of 100
    helperW200() NikuTextField
    Use font weight of 200
    helperW300() NikuTextField
    Use font weight of 300
    helperW400() NikuTextField
    Use font weight of 400
    helperW500() NikuTextField
    Use font weight of 500
    helperW600() NikuTextField
    Use font weight of 600
    helperW700() NikuTextField
    Use font weight of 700
    helperW800() NikuTextField
    Use font weight of 800
    helperW900() NikuTextField
    Use font weight of 900
    helperWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    hintAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    hintBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • hintBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    hintBg(Color backgroundColor) NikuTextField
    Set background color of text
    hintBold() NikuTextField
    Set font to bold, using FontWeight.bold
    hintColor(Color color) NikuTextField
    Set color of text
    hintFontFamily(String fontFamily) NikuTextField
    Apply font to text
    hintFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    hintFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    hintFontSize(double fontSize) NikuTextField
    Set size of text
    hintFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    hintFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    hintForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • hintHeight(double height) NikuTextField
    Fixed height for text
    hintIdeographic() NikuTextField
    Using TextBaseline.ideographic
    hintItalic() NikuTextField
    Whether to slant the glyphs in the font
    hintLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    hintMaxLines(int maxLines) NikuTextField
    Maximum line of hint text
    hintShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    hintStyle(TextStyle textStyle) NikuTextField
    Stying of label using TextStyle
    hintText(String helperText) NikuTextField
    Hint text
    hintTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    hintTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    hintTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    hintTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    hintW100() NikuTextField
    Use font weight of 100
    hintW200() NikuTextField
    Use font weight of 200
    hintW300() NikuTextField
    Use font weight of 300
    hintW400() NikuTextField
    Use font weight of 400
    hintW500() NikuTextField
    Use font weight of 500
    hintW600() NikuTextField
    Use font weight of 600
    hintW700() NikuTextField
    Use font weight of 700
    hintW800() NikuTextField
    Use font weight of 800
    hintW900() NikuTextField
    Use font weight of 900
    hintWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    hoverColor(Color color) NikuTextField
    The base fill color of the decoration's container color when hovered
    icon(Widget icon) NikuTextField
    An icon to show before the input field and outside of the decoration's container
    ideographic() NikuTextField
    Using TextBaseline.ideographic
    initial(String value) NikuTextField
    Initial value of text field
    initialValue(String value) NikuTextField
    Initial value of text field
    inputDecorationEnable(bool enabled) NikuTextField
    If false helperText, errorText, and counterText are not displayed, and the opacity of the remaining visual elements is reduced
    inputFormatters(List<TextInputFormatter> inputFormatters) NikuTextField
    Optional input validation and formatting overrides
    isCollapsed(bool isCollapsed) NikuTextField
    Whether the decoration is the same size as the input field
    isDense(bool isDense) NikuTextField
    Whether the InputDecorator.child is part of a dense form (i.e., uses less vertical space)
    italic() NikuTextField
    Whether to slant the glyphs in the font
    justify() NikuTextField
    Set alignment to justify
    keyboardAppearance(Brightness brightness) NikuTextField
    The appearance of the keyboard, only honored on iOS devices
    keyboardType(TextInputType keyboardType) NikuTextField
    The type of information for which to optimize the text input control
    labelAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    labelBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • labelBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    labelBg(Color backgroundColor) NikuTextField
    Set background color of text
    labelBold() NikuTextField
    Set font to bold, using FontWeight.bold
    labelColor(Color color) NikuTextField
    Set color of text
    labelFontFamily(String fontFamily) NikuTextField
    Apply font to text
    labelFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    labelFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    labelFontSize(double fontSize) NikuTextField
    Set size of text
    labelFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    labelFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    labelForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • labelHeight(double height) NikuTextField
    Fixed height for text
    labelIdeographic() NikuTextField
    Using TextBaseline.ideographic
    labelItalic() NikuTextField
    Whether to slant the glyphs in the font
    labelLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    labelShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    labelStyle(TextStyle textStyle) NikuTextField
    Stying of label using TextStyle
    labelText(String labelText) NikuTextField
    Label text
    labelTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    labelTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    labelTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    labelTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    labelW100() NikuTextField
    Use font weight of 100
    labelW200() NikuTextField
    Use font weight of 200
    labelW300() NikuTextField
    Use font weight of 300
    labelW400() NikuTextField
    Use font weight of 400
    labelW500() NikuTextField
    Use font weight of 500
    labelW600() NikuTextField
    Use font weight of 600
    labelW700() NikuTextField
    Use font weight of 700
    labelW800() NikuTextField
    Use font weight of 800
    labelW900() NikuTextField
    Use font weight of 900
    labelWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    left() NikuTextField
    Set alignment to left
    letterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    lightKeyboard() NikuTextField
    The appearance of the keyboard, only honored on iOS devices
    ltr() NikuTextField
    Use left-to-right direction
    maxLength(int maxLength) NikuTextField
    The maximum number of characters (Unicode scalar values) to allow in the text field
    maxLengthEnforced(bool enforced) NikuTextField
    If true, prevents the field from allowing more than maxLength characters
    maxLines(int maxLines) NikuTextField
    The maximum number of lines for the text to span, wrapping if necessary
    minLines(int minLines) NikuTextField
    The minimum number of lines to occupy when the content spans fewer lines
    multilineKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    nameKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    niku() Niku
    Switch to Niku() property
    noSuchMethod(Invocation invocation) → dynamic
    Invoked when a nonexistent method or property is accessed.
    inherited
    obscureText(bool obscureText) NikuTextField
    Should text be obscure eg. password field
    obscuringCharacter(String char) NikuTextField
    Display of "hidden" character like password
    on({ValueChanged<String>? changed, GestureTapCallback? tap, VoidCallback? editingComplete, ValueChanged<String>? submitted, FormFieldValidator<String>? saved}) NikuTextField
    call with the final value when the form is saved via FormState.save
    onChanged(ValueChanged<String> onChanged) NikuTextField
    Called when the value of textfield is changed
    onEditingComplete(VoidCallback onEditingComplete) NikuTextField
    Called for each distinct tap except for every second tap of a double tap
    onFieldSubmitted(ValueChanged<String> onFieldSubmitted) NikuTextField
    Called when the user indicates that they are done editing the text in the field
    onSaved(FormFieldSetter<String> onSaved) NikuTextField
    call with the final value when the form is saved via FormState.save
    onSubmitted(ValueChanged<String> onFieldSubmitted) NikuTextField
    Called when the user indicates that they are done editing the text in the field
    onTap(GestureTapCallback onTap) NikuTextField
    Called for each distinct tap except for every second tap of a double tap
    phoneKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    prefix(Widget widget) NikuTextField
    Optional widget to place on the line before the input
    prefixAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    prefixBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • prefixBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    prefixBg(Color backgroundColor) NikuTextField
    Set background color of text
    prefixBold() NikuTextField
    Set font to bold, using FontWeight.bold
    prefixColor(Color color) NikuTextField
    Set color of text
    prefixFontFamily(String fontFamily) NikuTextField
    Apply font to text
    prefixFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    prefixFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    prefixFontSize(double fontSize) NikuTextField
    Set size of text
    prefixFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    prefixFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    prefixForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • prefixHeight(double height) NikuTextField
    Fixed height for text
    prefixIcon(Widget icon) NikuTextField
    An icon that appears before the prefix or prefixText and before the editable part of the text field, within the decoration's container
    prefixIconConstraints(BoxConstraints constraints) NikuTextField
    The constraints for the prefix icon
    prefixIdeographic() NikuTextField
    Using TextBaseline.ideographic
    prefixItalic() NikuTextField
    Whether to slant the glyphs in the font
    prefixLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    prefixShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    prefixStyle(TextStyle textStyle) NikuTextField
    The style to use for the prefixText
    prefixText(String prefixText) NikuTextField
    Optional text prefix to place on the line before the input
    prefixTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    prefixTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    prefixTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    prefixTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    prefixW100() NikuTextField
    Use font weight of 100
    prefixW200() NikuTextField
    Use font weight of 200
    prefixW300() NikuTextField
    Use font weight of 300
    prefixW400() NikuTextField
    Use font weight of 400
    prefixW500() NikuTextField
    Use font weight of 500
    prefixW600() NikuTextField
    Use font weight of 600
    prefixW700() NikuTextField
    Use font weight of 700
    prefixW800() NikuTextField
    Use font weight of 800
    prefixW900() NikuTextField
    Use font weight of 900
    prefixWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    readOnly(bool readOnly) NikuTextField
    Should textfield be readonly
    Set alignment to right
    rtl() NikuTextField
    Use right-to-left direction
    scrollP(double padding) NikuTextField
    Configures padding to edges surrounding a Scrollable when the Textfield scrolls into view Shorten for scrollPadding accepting shorten padding applying to all side
    scrollPadding(EdgeInsets padding) NikuTextField
    Configures padding to edges surrounding a Scrollable when the Textfield scrolls into view
    scrollPhysics(ScrollPhysics physics) NikuTextField
    The ScrollPhysics to use when vertically scrolling the input
    semanticCounterText(String semantic) NikuTextField
    A semantic label for the counterText
    set({TextEditingController? controller, String initialValue = '', FocusNode? focusNode, TextInputType? keyboardType, TextCapitalization textCapitalization = TextCapitalization.none, TextInputAction? textInputAction, TextDirection? textDirection, TextAlign textAlign = TextAlign.start, TextAlignVertical? textAlignVertical, bool autofocus = false, bool readOnly = false, ToolbarOptions? toolbarOptions, bool? showCursor, String obscuringCharacter = '•', bool obscureText = false, bool autocorrect = true, SmartDashesType? smartDashesType, SmartQuotesType? smartQuotesType, bool enableSuggestions = true, bool maxLengthEnforced = true, int maxLines = 1, int? minLines, bool expands = false, int? maxLength, ValueChanged<String>? onChanged, GestureTapCallback? onTap, VoidCallback? onEditingComplete, ValueChanged<String>? onFieldSubmitted, FormFieldSetter<String>? onSaved, FormFieldValidator<String>? validator, List<TextInputFormatter>? inputFormatters, bool? enabled, double cursorWidth = 2.0, double? cursorHeight, Radius? cursorRadius, Color? cursorColor, Brightness? keyboardAppearance, EdgeInsets scrollPadding = const EdgeInsets.all(20.0), bool enableInteractiveSelection = true, InputCounterWidgetBuilder? buildCounter, ScrollPhysics? scrollPhysics, Iterable<String>? autofillHints, AutovalidateMode? autovalidateMode, Widget? input_icon, String? input_labelText, String? input_helperText, int? input_helperMaxLines, String? input_hintText, int? input_hintMaxLines, String? input_errorText, int? input_errorMaxLines, FloatingLabelBehavior input_floatingLabelBehavior = FloatingLabelBehavior.auto, bool input_isCollapsed = false, bool? input_isDense, EdgeInsetsGeometry? input_contentPadding, Widget? input_prefixIcon, BoxConstraints? input_prefixIconConstraints, Widget? input_prefix, String? input_prefixText, Widget? input_suffixIcon, Widget? input_suffix, String? input_suffixText, BoxConstraints? input_suffixIconConstraints, Widget? input_counter, String? input_counterText, bool? input_filled, Color? input_fillColor, Color? input_focusColor, Color? input_hoverColor, InputBorder? input_errorBorder, InputBorder? input_focusedBorder, InputBorder? input_focusedErrorBorder, InputBorder? input_disabledBorder, InputBorder? input_enabledBorder, InputBorder? input_border, bool input_decorationEnabled = true, String? input_semanticCounterText, bool? input_alignLabelWithHint, Color? base_color, Color? base_backgroundColor, double? base_fontSize, FontWeight? base_fontWeight, FontStyle? base_fontStyle, double? base_letterSpacing, double? base_wordSpacing, double? base_height, Paint? base_foreground, Paint? base_background, List<Shadow>? base_shadows, List<FontFeature>? base_fontFeatures, TextDecoration? base_textDecoration, Color? base_textDecorationColor, double? base_textDecorationThickness, String? base_fontFamily, List<String>? base_fontFamilyFallback, TextBaseline? base_textBaseline, Color? label_color, Color? label_backgroundColor, double? label_fontSize, FontWeight? label_fontWeight, FontStyle? label_fontStyle, double? label_letterSpacing, double? label_wordSpacing, double? label_height, Paint? label_foreground, Paint? label_background, List<Shadow>? label_shadows, List<FontFeature>? label_fontFeatures, TextDecoration? label_textDecoration, Color? label_textDecorationColor, double? label_textDecorationThickness, String? label_fontFamily, List<String>? label_fontFamilyFallback, TextBaseline? label_textBaseline, Color? hint_color, Color? hint_backgroundColor, double? hint_fontSize, FontWeight? hint_fontWeight, FontStyle? hint_fontStyle, double? hint_letterSpacing, double? hint_wordSpacing, double? hint_height, Paint? hint_foreground, Paint? hint_background, List<Shadow>? hint_shadows, List<FontFeature>? hint_fontFeatures, TextDecoration? hint_textDecoration, Color? hint_textDecorationColor, double? hint_textDecorationThickness, String? hint_fontFamily, List<String>? hint_fontFamilyFallback, TextBaseline? hint_textBaseline, Color? helper_color, Color? helper_backgroundColor, double? helper_fontSize, FontWeight? helper_fontWeight, FontStyle? helper_fontStyle, double? helper_letterSpacing, double? helper_wordSpacing, double? helper_height, Paint? helper_foreground, Paint? helper_background, List<Shadow>? helper_shadows, List<FontFeature>? helper_fontFeatures, TextDecoration? helper_textDecoration, Color? helper_textDecorationColor, double? helper_textDecorationThickness, String? helper_fontFamily, List<String>? helper_fontFamilyFallback, TextBaseline? helper_textBaseline, Color? error_color, Color? error_backgroundColor, double? error_fontSize, FontWeight? error_fontWeight, FontStyle? error_fontStyle, double? error_letterSpacing, double? error_wordSpacing, double? error_height, Paint? error_foreground, Paint? error_background, List<Shadow>? error_shadows, List<FontFeature>? error_fontFeatures, TextDecoration? error_textDecoration, Color? error_textDecorationColor, double? error_textDecorationThickness, String? error_fontFamily, List<String>? error_fontFamilyFallback, TextBaseline? error_textBaseline, Color? prefix_color, Color? prefix_backgroundColor, double? prefix_fontSize, FontWeight? prefix_fontWeight, FontStyle? prefix_fontStyle, double? prefix_letterSpacing, double? prefix_wordSpacing, double? prefix_height, Paint? prefix_foreground, Paint? prefix_background, List<Shadow>? prefix_shadows, List<FontFeature>? prefix_fontFeatures, TextDecoration? prefix_textDecoration, Color? prefix_textDecorationColor, double? prefix_textDecorationThickness, String? prefix_fontFamily, List<String>? prefix_fontFamilyFallback, TextBaseline? prefix_textBaseline, Color? suffix_color, Color? suffix_backgroundColor, double? suffix_fontSize, FontWeight? suffix_fontWeight, FontStyle? suffix_fontStyle, double? suffix_letterSpacing, double? suffix_wordSpacing, double? suffix_height, Paint? suffix_foreground, Paint? suffix_background, List<Shadow>? suffix_shadows, List<FontFeature>? suffix_fontFeatures, TextDecoration? suffix_textDecoration, Color? suffix_textDecorationColor, double? suffix_textDecorationThickness, String? suffix_fontFamily, List<String>? suffix_fontFamilyFallback, TextBaseline? suffix_textBaseline, Color? counter_color, Color? counter_backgroundColor, double? counter_fontSize, FontWeight? counter_fontWeight, FontStyle? counter_fontStyle, double? counter_letterSpacing, double? counter_wordSpacing, double? counter_height, Paint? counter_foreground, Paint? counter_background, List<Shadow>? counter_shadows, List<FontFeature>? counter_fontFeatures, TextDecoration? counter_textDecoration, Color? counter_textDecorationColor, double? counter_textDecorationThickness, String? counter_fontFamily, List<String>? counter_fontFamilyFallback, TextBaseline? counter_textBaseline}) NikuTextField
    setBorder({InputBorder? border, InputBorder? enabled, InputBorder? disabled, InputBorder? focused, InputBorder? error}) NikuTextField
    Set multiple InputDecoration at once
    setFillColor({Color? fill, Color? hover, Color? focus}) NikuTextField
    Set multiple FillColor at once
    shadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    showCursor(bool showCursor) NikuTextField
    Should textfield cursor be showned
    smartDashesType(SmartDashesType type) NikuTextField
    Indicates how to handle the intelligent replacement of dashes in text input
    smartQuotesType(SmartQuotesType type) NikuTextField
    Indicates how to handle the intelligent replacement of quotes in text input
    start() NikuTextField
    Set alignment to start, suitable for dynamic TextDirection
    style(NikuTextField instance) Widget
    Apply existing NikuTextField's property to current style and build
    suffix(Widget widget) NikuTextField
    Optional widget to place on the line before the input
    suffixAlphabetic() NikuTextField
    Using TextBaseline.alphabetic
    suffixBackground(Paint foreground) NikuTextField
  • background - The paint drawn as a background for the text.
  • suffixBackgroundColor(Color backgroundColor) NikuTextField
    Set background color of text
    suffixBg(Color backgroundColor) NikuTextField
    Set background color of text
    suffixBold() NikuTextField
    Set font to bold, using FontWeight.bold
    suffixColor(Color color) NikuTextField
    Set color of text
    suffixFontFamily(String fontFamily) NikuTextField
    Apply font to text
    suffixFontFamilyFallback(List<String> fontFamily) NikuTextField
    Apply font to text
    suffixFontFeatures(List<FontFeature> fontFeatures) NikuTextField
    A feature tag and value that affect the selection of glyphs in a font
    suffixFontSize(double fontSize) NikuTextField
    Set size of text
    suffixFontStyle(FontStyle fontStyle) NikuTextField
    Whether to slant the glyphs in the font
    suffixFontWeight(FontWeight fontWeight) NikuTextField
    The thickness of the glyphs used to draw the text
    suffixForeground(Paint foreground) NikuTextField
  • forground - The paint drawn as a foreground for the text.
  • suffixHeight(double height) NikuTextField
    Fixed height for text
    suffixIcon(Widget widget) NikuTextField
    An icon that appears before the suffix or suffixText and before the editable part of the text field, within the decoration's container
    suffixIconConstraints(BoxConstraints constraints) NikuTextField
    The constraints for the suffix icon
    suffixIdeographic() NikuTextField
    Using TextBaseline.ideographic
    suffixItalic() NikuTextField
    Whether to slant the glyphs in the font
    suffixLetterSpacing(double letterSpacing) NikuTextField
    Spacing for each letter
    suffixShadows(List<Shadow> shadows) NikuTextField
    Collection of text's shadow
    suffixStyle(TextStyle textStyle) NikuTextField
    The style to use for the suffixText
    suffixText(String prefixText) NikuTextField
    Optional widget to place on the line before the input
    suffixTextBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    suffixTextDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    suffixTextDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    suffixTextDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    suffixW100() NikuTextField
    Use font weight of 100
    suffixW200() NikuTextField
    Use font weight of 200
    suffixW300() NikuTextField
    Use font weight of 300
    suffixW400() NikuTextField
    Use font weight of 400
    suffixW500() NikuTextField
    Use font weight of 500
    suffixW600() NikuTextField
    Use font weight of 600
    suffixW700() NikuTextField
    Use font weight of 700
    suffixW800() NikuTextField
    Use font weight of 800
    suffixW900() NikuTextField
    Use font weight of 900
    suffixWordSpacing(double wordSpacing) NikuTextField
    Spacing for each word
    textAlign(TextAlign textAlign) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    textBaseline(TextBaseline textBaseline) NikuTextField
    The common baseline that should be aligned between this text span and its parent text span, or, for the root text spans, with the line box.
    textCapitalization(TextCapitalization textCapitalization) NikuTextField
    Configures how the platform keyboard will select an uppercase or lowercase keyboard
    textDecoration(TextDecoration textDecoration) NikuTextField
    Text decoration
    textDecorationColor(Color textDecorationColor) NikuTextField
    Color of text decoration
    textDecorationThickness(double textDecorationThickness) NikuTextField
    Thickness of text decoration
    textDirection(TextDirection textDirection) NikuTextField
    Set whether text is left-to-right or right-to-left direction.
    textEditingController(TextEditingController controller) NikuTextField
    Controller for ediable text field
    textKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    toolbar({bool copy = true, bool cut = true, bool paste = true, bool selectAll = true}) NikuTextField
    Configure using shorten named property of ToolbarOptions
    toolbarOptions(ToolbarOptions toolbarOptions) NikuTextField
    Toolbar is a context menu that will show up when user right click or long press the EditableText. It includes several options: cut, copy, paste, and select all
    toString() String
    A string representation of this object.
    inherited
    urlKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    validateOnUserInteraction() NikuTextField
    Validation of value of field
    validator(FormFieldValidator<String> validator) NikuTextField
    An optional method that validates an input. Returns an error string to display if the input is invalid, or null otherwise.
    visiblePasswordKeyboard() NikuTextField
    The type of information for which to optimize the text input control
    w100() NikuTextField
    Use font weight of 100
    w200() NikuTextField
    Use font weight of 200
    w300() NikuTextField
    Use font weight of 300
    w400() NikuTextField
    Use font weight of 400
    w500() NikuTextField
    Use font weight of 500
    w600() NikuTextField
    Use font weight of 600
    w700() NikuTextField
    Use font weight of 700
    w800() NikuTextField
    Use font weight of 800
    w900() NikuTextField
    Use font weight of 900
    wordSpacing(double wordSpacing) NikuTextField
    Spacing for each word

    Operators

    operator ==(Object other) bool
    The equality operator.
    inherited