FieldHint.integer constructor

const FieldHint.integer(
  1. String key, {
  2. String? label,
  3. String? help,
  4. double? min,
  5. double? max,
  6. Object? defaultValue,
  7. bool readOnly = false,
})

A whole number.

Implementation

const FieldHint.integer(
  this.key, {
  this.label,
  this.help,
  this.min,
  this.max,
  this.defaultValue,
  this.readOnly = false,
}) : kind = FieldKind.integer,
     step = 1,
     unit = null,
     choices = const <String>[],
     suffixes = const <String>[];