NavigationCollapsible constructor

const NavigationCollapsible({
  1. Key? key,
  2. Widget? leading,
  3. required Widget label,
  4. required List<Widget> children,
  5. bool? expanded,
  6. bool initialExpanded = false,
  7. ValueChanged<bool>? onExpandedChanged,
  8. AbstractButtonStyle? selectedStyle,
  9. bool? selected,
  10. ValueChanged<bool>? onChanged,
  11. AbstractButtonStyle? style,
  12. Widget? trailing,
  13. double? childIndent,
  14. BranchLine? branchLine,
  15. double? spacing,
  16. AlignmentGeometry? alignment,
  17. bool? enabled,
  18. NavigationOverflow overflow = NavigationOverflow.marquee,
})

Implementation

const NavigationCollapsible({
  super.key,
  this.leading,
  required this.label,
  required this.children,
  this.expanded,
  this.initialExpanded = false,
  this.onExpandedChanged,
  this.selectedStyle,
  this.selected,
  this.onChanged,
  this.style,
  this.trailing,
  this.childIndent,
  this.branchLine,
  this.spacing,
  this.alignment,
  this.enabled,
  this.overflow = NavigationOverflow.marquee,
});