suffix method

NikuTextField suffix(
  1. Widget widget
)

Optional widget to place on the line before the input

Equivalent to

TextFormField(
  decoration: InputDecoration(
    suffixIcon: input
  )
)

Implementation

NikuTextField suffix(Widget widget) {
  this._input_suffix = widget;

  return this;
}