NavigationCollapsible constructor
const
NavigationCollapsible({
- Key? key,
- Widget? leading,
- required Widget label,
- required List<
Widget> children, - bool? expanded,
- bool initialExpanded = false,
- ValueChanged<
bool> ? onExpandedChanged, - AbstractButtonStyle? selectedStyle,
- bool? selected,
- ValueChanged<
bool> ? onChanged, - AbstractButtonStyle? style,
- Widget? trailing,
- double? childIndent,
- BranchLine? branchLine,
- double? spacing,
- AlignmentGeometry? alignment,
- bool? enabled,
- NavigationOverflow overflow = NavigationOverflow.marquee,
Creates a NavigationCollapsible.
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,
});