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