MainSection constructor

const MainSection({
  1. required Widget itemBuilder(
    1. BuildContext context,
    2. int index,
    3. bool selected
    ),
  2. required int itemCount,
  3. required DetailsWidget getDetails(
    1. BuildContext context,
    2. int index
    ),
  4. required Icon icon,
  5. required Text label,
  6. Widget? bottomAppBar,
})

Implementation

const MainSection({
  required this.itemBuilder,
  required this.itemCount,
  required this.getDetails,
  required this.icon,
  required this.label,
  this.bottomAppBar,
});