MultiselectScope<T> constructor
Null safety
- {Key? key,
- required List<
T> dataSource, - MultiselectController? controller,
- SelectionChangedCallback<
T> ? onSelectionChanged, - bool clearSelectionOnPop = false,
- bool keepSelectedItemsBetweenUpdates = true,
- List<
int> ? initialSelectedIndexes, - required Widget child}
Implementation
MultiselectScope({
Key? key,
required this.dataSource,
this.controller,
this.onSelectionChanged,
this.clearSelectionOnPop = false,
this.keepSelectedItemsBetweenUpdates = true,
this.initialSelectedIndexes,
required this.child,
}) : super(key: key);