InputQueryWidget.integers constructor

InputQueryWidget.integers(
  1. String field,
  2. String label, {
  3. String? hint,
  4. QueryConditionChange? onChange,
  5. int maxLength = 512,
})

Implementation

InputQueryWidget.integers(this.field, this.label, {this.hint, QueryConditionChange? onChange, int maxLength = 512}) : super() {
  _inputFormaters << LengthLimitingTextInputFormatter(maxLength);
  _inputFormaters << FilteringTextInputFormatter.allow(Regs.integers);
  operatorDropdown = QueryOperatorWidget.number((e) => onConditionChanged());
  onConditionChange = onChange;
}