prefix method

NikuTextField prefix(
  1. Widget widget
)

Optional widget to place on the line before the input

Equivalent to

TextFormField(
  decoration: InputDecoration(
    prefix: input
  )
)

Implementation

NikuTextField prefix(Widget widget) {
  this._input_prefix = widget;

  return this;
}