buildNavDrawer method

NavDrawer buildNavDrawer(
  1. BuildContext context
)

Implementation

NavDrawer buildNavDrawer(BuildContext context) {
  return NavDrawer(
      navItems: items,
      onClose: () {
        Navigator.pop(context);
      },
      customDecoration: customDecoration,
      appBarColor: appBarColor,
      drawerColor: drawerColor,
      navItemAnimation: navItemAnimation ?? AnimationType.fade,
      drawerHeader: drawerHeader,
      navTextStyle: navTextStyle,
      device: deviceType,
      drawerBody: drawerBody,
      itemsPosition: itemsPosition,
      drawerFooter: drawerFooter,
      drawerMode: drawerMode ?? NavDrawerMode.right,
      itemSpacing: navItemSpacing,
      pageIndicator: pageIndicator ?? PageIndicator.none,
      indicatorLineThickness: indicatorLineThickness);
}