Accordion constructor
Accordion({
- required String title,
- required Widget child,
- bool expanded = false,
- ValueCmdCallback<
bool> ? onChanged, - bool enabled = true,
- Widget? leading,
- EdgeInsets? padding,
- Key? key,
Implementation
Accordion({
required this.title,
required this.child,
this.expanded = false,
this.onChanged,
this.enabled = true,
this.leading,
this.padding,
super.key,
});