setFillColor method

NikuTextField setFillColor({
  1. Color? fill,
  2. Color? hover,
  3. Color? focus,
})

Set multiple FillColor at once

Equivalent to

TextFormField(
  decoration: InputDecoration(
    filled: true,
    fillColor: fill
    hoverColor: hover,
    focusColor: focus,
  )
)

Implementation

NikuTextField setFillColor({Color? fill, Color? hover, Color? focus}) {
  this._input_filled = true;
  this._input_fillColor = fill;
  this._input_hoverColor = hover;
  this._input_focusColor = focus;

  return this;
}