MultiSelector constructor

const MultiSelector({
  1. Key? key,
  2. required List<MultiSelectorEntity> data,
  3. required void onSelectionChanged(
    1. List<MultiSelectorEntity> list
    ),
  4. required Widget buildItems(
    1. MultiSelectorEntity node,
    2. int level,
    3. bool isExpanded,
    4. bool hasChildren,
    ),
  5. MultiSelectorController? controller,
  6. String? accordionKey,
  7. bool animation = true,
  8. Duration animationDuration = const Duration(milliseconds: 300),
  9. Curve curve = Curves.easeInOut,
  10. AlignmentGeometry animationAlignment = Alignment.topLeft,
  11. List<String>? defaultSelected,
  12. 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);