prefixIcon method
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;
}