Option<T> constructor

const Option<T>({
  1. required String label,
  2. String? description,
  3. required T value,
})

Represents a single option for a SelectKnob.

Every option will be displayed in a dropdown menu.

Implementation

const Option({
  required this.label,
  this.description,
  required this.value,
});