enabled method
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;
}