isDense method

NikuTextField isDense([
  1. bool isDense = true
])

Whether the InputDecorator.child is part of a dense form (i.e., uses less vertical space)

Equivalent to

TextFormField(
  decoration: InputDecoration(
    isDense: input
  )
)

Implementation

NikuTextField isDense([bool isDense = true]) {
  _input_isDense = isDense;

  return this;
}