enableInputDecoration method

NikuTextField enableInputDecoration([
  1. bool enabled = true
])

If false helperText, errorText, and counterText are not displayed, and the opacity of the remaining visual elements is reduced

Equivalent to

TextFormField(
  decoration: InputDecoration(
    enabled: input
  )
)

Implementation

NikuTextField enableInputDecoration([bool enabled = true]) {
  _input_decorationEnabled = enabled;

  return this;
}