Knob<T> constructor

Knob<T>({
  1. required String label,
  2. String? description,
  3. required KnobValue<T> knobValue,
})

An abstract class that represents a control knob.

Consumers can extend this class to create custom knob types.

Implementation

Knob({
  required this.label,
  this.description,
  required this.knobValue,
});