KnobDescriptor constructor

const KnobDescriptor({
  1. required String name,
  2. required KnobKind kind,
  3. required Object? value,
  4. required Object? defaultValue,
  5. num? min,
  6. num? max,
  7. num? step,
  8. String? description,
  9. List<String> options = const [],
  10. PickerStyle style = PickerStyle.dropdown,
})

Implementation

const KnobDescriptor({
  required this.name,
  required this.kind,
  required this.value,
  required this.defaultValue,
  this.min,
  this.max,
  this.step,
  this.description,
  this.options = const [],
  this.style = PickerStyle.dropdown,
});