enabled method

NikuTextField enabled(
  1. bool enabled
)

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) {
  this._enabled = enabled;

  return this;
}