BooleanKnobWidget constructor

const BooleanKnobWidget({
  1. Key? key,
  2. required String label,
  3. required String? description,
  4. required bool value,
  5. required bool enabled,
  6. required bool nullable,
})

A knob widget that allows the user to toggle a boolean value.

The knob is displayed as a checkbox.

See also:

Implementation

const BooleanKnobWidget({
  super.key,
  required this.label,
  required this.description,
  required this.value,
  required this.enabled,
  required this.nullable,
});