NavDrawer constructor

const NavDrawer({
  1. Key? key,
  2. VoidCallback? onClose,
  3. Color? appBarColor,
  4. Color? drawerColor,
  5. required List<NavItem> navItems,
  6. AnimationType? navItemAnimation,
  7. TextStyle? navTextStyle,
  8. double? itemSpacing,
  9. NavItemPosition? itemsPosition = NavItemPosition.center,
  10. BoxDecoration? customDecoration,
  11. PageIndicator? pageIndicator,
  12. double? indicatorLineThickness,
  13. Widget? drawerHeader,
  14. NavDrawerMode drawerMode = NavDrawerMode.right,
  15. Widget? drawerBody,
  16. DeviceType? device,
  17. Widget? drawerFooter,
})

Implementation

const NavDrawer(
    {Key? key,
      this.onClose,
      this.appBarColor,
      this.drawerColor,
    required this.navItems,
      this.navItemAnimation,
      this.navTextStyle,
      this.itemSpacing,
      this.itemsPosition = NavItemPosition.center,
      this.customDecoration,
      this.pageIndicator,
      this.indicatorLineThickness,
    this.drawerHeader,
      this.drawerMode = NavDrawerMode.right,
      this.drawerBody,
      this.device,
    this.drawerFooter})
    : super(key: key);