SimpleNavHome constructor

const SimpleNavHome({
  1. Key? key,
  2. Widget? titleWidget,
  3. Widget? appDrawer,
  4. required List<SimpleNavItemModel> navMenuItemList,
  5. bool? isTopMenu,
  6. bool? centerTitle,
  7. int? initialPageIndex,
  8. Color? frontColorMenu,
  9. Color? backColorMenu,
  10. Color? frontColorAppBar,
  11. Color? backColorAppBar,
  12. bool? isTopAd,
  13. Widget? ad,
  14. Color? adBackColor,
  15. double? adHeight,
  16. double? textScaleFactor,
})

Takes the required and options parameters that later will be initialized in the initState.

Implementation

const SimpleNavHome({
  Key? key,
  this.titleWidget,
  this.appDrawer,
  required this.navMenuItemList,
  this.isTopMenu,
  this.centerTitle,
  this.initialPageIndex,
  this.frontColorMenu,
  this.backColorMenu,
  this.frontColorAppBar,
  this.backColorAppBar,
  this.isTopAd,
  this.ad,
  this.adBackColor,
  this.adHeight,
  this.textScaleFactor,
}) : super(key: key);