setBorder method
NikuTextField
setBorder({
- InputBorder? border,
- InputBorder? enabled,
- InputBorder? disabled,
- InputBorder? focused,
- InputBorder? error,
Set multiple InputDecoration at once
Equivalent to
TextFormField(
decoration: InputDecoration(
border: border,
enabled: enabled,
disabled: disabled,
focused: focused,
error: error
)
)
Implementation
NikuTextField setBorder(
{InputBorder? border,
InputBorder? enabled,
InputBorder? disabled,
InputBorder? focused,
InputBorder? error}) {
this._input_border = border;
this._input_enabledBorder = border;
this._input_disabledBorder = border;
this._input_focusedBorder = border;
this._input_errorBorder = border;
return this;
}