MultiSelector constructor
const
MultiSelector({
- Key? key,
- required List<
MultiSelectorEntity> data, - required void onSelectionChanged(
- List<
MultiSelectorEntity> list
- List<
- required Widget buildItems(
- MultiSelectorEntity node,
- int level,
- bool isExpanded,
- bool hasChildren,
- MultiSelectorController? controller,
- String? accordionKey,
- bool animation = true,
- Duration animationDuration = const Duration(milliseconds: 300),
- Curve curve = Curves.easeInOut,
- AlignmentGeometry animationAlignment = Alignment.topLeft,
- List<
String> ? defaultSelected, - bool completeCallback = true,
Implementation
const MultiSelector({Key? key,
required this.data,
required this.onSelectionChanged,
required this.buildItems,
this.controller,
this.accordionKey,
this.animation = true,
this.animationDuration = const Duration(milliseconds: 300),
this.curve = Curves.easeInOut,
this.animationAlignment = Alignment.topLeft,
this.defaultSelected,
this.completeCallback = true,
}): super(key: key);