DynamicNavigationDrawerWithIcon constructor

DynamicNavigationDrawerWithIcon({
  1. Key? key,
  2. required dynamic onTap(
    1. String,
    2. int
    ),
  3. required MaterialColor backgroundColorForMenu,
  4. required MaterialColor backgroundColorForDrawerHeader,
  5. MaterialColor? backgroundColorForDrawerPane,
  6. required double drawerWidth,
  7. required double drawerMenuHeight,
  8. Color? menuFontColor,
  9. double? menuFontSize,
  10. TextAlign? menuTextAlign,
  11. required bool isDrawerHeaderRequired,
  12. required MaterialColor menuNotSelectedColor,
  13. required Map<String, IconData> tileListWithIcon,
  14. String? accountName,
  15. String? accountEmail,
  16. String? imageUrl,
  17. required int initialSelectionIndex,
})

Implementation

DynamicNavigationDrawerWithIcon(
    {Key? key,
    required this.onTap,
    required this.backgroundColorForMenu,
    required this.backgroundColorForDrawerHeader,
    this.backgroundColorForDrawerPane,
    required this.drawerWidth,
    required this.drawerMenuHeight,
    this.menuFontColor,
    this.menuFontSize,
    this.menuTextAlign,
    required this.isDrawerHeaderRequired,
    required this.menuNotSelectedColor,
    required this.tileListWithIcon,
    this.accountName,
    this.accountEmail,
    this.imageUrl,
    required this.initialSelectionIndex})
    : super(key: key);