MultiselectScope<T> constructor

MultiselectScope<T>({
  1. Key? key,
  2. required List<T> dataSource,
  3. MultiselectController? controller,
  4. SelectionChangedCallback<T>? onSelectionChanged,
  5. bool clearSelectionOnPop = false,
  6. bool keepSelectedItemsBetweenUpdates = true,
  7. List<int>? initialSelectedIndexes,
  8. 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);