prefixText method

NikuTextField prefixText(
  1. String prefixText
)

Optional text prefix to place on the line before the input

Equivalent to

TextFormField(
  decoration: InputDecoration(
    prefixText: input
  )
)

Implementation

NikuTextField prefixText(String prefixText) {
  this._input_prefixText = prefixText;

  return this;
}