Accordion constructor

const Accordion({
  1. Key? key,
  2. required Widget headerBuilder(
    1. bool isOpen
    ),
  3. required Widget child,
})

Implementation

const Accordion({
  super.key,
  required this.headerBuilder,
  required this.child,
});