SelectorWheelValue<T> constructor

const SelectorWheelValue<T>({
  1. required String label,
  2. required T value,
  3. required int index,
})

Implementation

const factory SelectorWheelValue({
  /// The string representation of the [value]. This
  /// is what will be displayed in the wheel.
  required String label,

  /// The value of the wheel item.
  required T value,

  /// The index of the wheel item.
  required int index,
}) = _SelectorWheelValue<T>;