SelectEnum<T extends Enum> constructor

const SelectEnum<T extends Enum>({
  1. required List<T> values,
  2. required ValueChanged<T> onDone,
  3. T? value,
  4. List<Widget> actions = const [],
  5. String title = 'Select Value',
  6. SelectItemCallbackShortcuts<T>? getCallbackShortcuts,
  7. Key? key,
})

Create an instance.

Implementation

const SelectEnum({
  required this.values,
  required this.onDone,
  this.value,
  this.actions = const [],
  this.title = 'Select Value',
  this.getCallbackShortcuts,
  super.key,
});