Accordion constructor

Accordion({
  1. required String title,
  2. required Widget child,
  3. bool expanded = false,
  4. ValueCmdCallback<bool>? onChanged,
  5. bool enabled = true,
  6. Widget? leading,
  7. EdgeInsets? padding,
  8. Key? key,
})

Implementation

Accordion({
  required this.title,
  required this.child,
  this.expanded = false,
  this.onChanged,
  this.enabled = true,
  this.leading,
  this.padding,
  super.key,
});