SectionsList constructor

const SectionsList({
  1. Key? key,
  2. required ValueChanged<int> sectionTap,
  3. required int sectionIndex,
  4. required List<MainSection> sections,
})

Implementation

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