prefixIcon method

NikuTextField prefixIcon(
  1. Widget icon
)

An icon that appears before the prefix or prefixText and before the editable part of the text field, within the decoration's container

Equivalent to

TextFormField(
  decoration: InputDecoration(
    prefixIcon: input
  )
)

Implementation

NikuTextField prefixIcon(Widget icon) {
  this._input_prefixIcon = icon;

  return this;
}