NavDrawer constructor
const
NavDrawer({
- Key? key,
- VoidCallback? onClose,
- Color? appBarColor,
- Color? drawerColor,
- double? itemSpacing,
- NavItemPosition? itemsPosition = NavItemPosition.center,
- BoxDecoration? customDecoration,
- PageIndicator? pageIndicator,
- double? indicatorLineThickness,
- Widget? drawerHeader,
- NavDrawerMode drawerMode = NavDrawerMode.right,
- Widget? drawerBody,
- DeviceType? device,
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);