SelectItem<T> constructor
const
SelectItem<T> ({
- required List<
T> values, - required ValueChanged<
T> onDone, - T? value,
- List<
Widget> actions = const [], - String title = 'Select Item',
- String getSearchString(
- T value
- Widget getWidget(
- T value
- bool shouldPop = true,
- SelectItemCallbackShortcuts<
T> ? getCallbackShortcuts, - Key? key,
Create an instance.
Implementation
const SelectItem({
required this.values,
required this.onDone,
this.value,
this.actions = const [],
this.title = 'Select Item',
this.getSearchString,
this.getWidget,
this.shouldPop = true,
this.getCallbackShortcuts,
super.key,
});