NavigationGlobalConfig constructor

NavigationGlobalConfig({
  1. Color? backgroundColor,
  2. double? drawerWidth,
  3. double? endDrawerWidth,
  4. double collapsedRailWidth = 50,
  5. double expandedRailWidth = 250,
  6. Duration? animationDuration,
  7. bool needFixedSize = false,
  8. bool responsiveLayout = true,
  9. bool closeOnSelectDrawerItem = true,
  10. 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,
});