counter method

NikuTextField counter(
  1. Widget counter
)

Optional custom counter widget to go in the place otherwise occupied by counterText. If this property is non null, then counterText is ignored.

Equivalent to

TextFormField(
  decoration: InputDecoration(
    counter: input
  )
)

Implementation

NikuTextField counter(Widget counter) {
  this._input_counter = counter;

  return this;
}