SectionsDrawer constructor

const SectionsDrawer({
  1. Key? key,
  2. required int sectionIndex,
  3. required dynamic sectionChanged(
    1. BuildContext,
    2. int
    ),
  4. required List<MainSection> sections,
})

Implementation

const SectionsDrawer({
  Key? key,
  required int sectionIndex,
  required this.sectionChanged,
  required this.sections,
})   : _sectionIndex = sectionIndex,
      super(key: key);