enabled method

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

If false the text field is "disabled": it ignores taps and its decoration is rendered in grey

Equivalent to

TextFormField(
  enabled: input
)

Implementation

NikuTextField enabled([bool enabled = true]) {
  _enabled = enabled;

  return this;
}