NavigationGlobalConfig constructor
NavigationGlobalConfig({
- Color? backgroundColor,
- double? drawerWidth,
- double? endDrawerWidth,
- double collapsedRailWidth = 50,
- double expandedRailWidth = 250,
- Duration? animationDuration,
- bool needFixedSize = false,
- bool responsiveLayout = true,
- bool closeOnSelectDrawerItem = true,
- NavigationRailMode mode = NavigationRailMode.rail,
Implementation
NavigationGlobalConfig({
this.backgroundColor,
this.drawerWidth,
this.endDrawerWidth,
this.collapsedRailWidth = 50,
this.expandedRailWidth = 250,
this.animationDuration,
this.needFixedSize = false,
this.responsiveLayout = true,
this.closeOnSelectDrawerItem = true,
this.mode = NavigationRailMode.rail,
});