NavigationScreen constructor

const NavigationScreen({
  1. Key? key,
  2. double railRightPadding = 8,
  3. int index = 0,
  4. Widget? overrideSidebarGap,
  5. double railTopPadding = 8,
  6. double sidebarSpacing = 4,
  7. bool drawerTransformsBackdrop = false,
  8. ValueChanged<int>? onIndexChanged,
  9. PylonBuilder? sidebarFooter,
  10. required List<NavItem> tabs,
  11. Widget customNavigationBuilder(
    1. BuildContext,
    2. NavigationScreen,
    3. int
    )?,
  12. bool endSide = false,
  13. NavigationType type = NavigationType.bottomNavigationBar,
})

Implementation

const NavigationScreen(
    {super.key,
    this.railRightPadding = 8,
    this.index = 0,
    this.overrideSidebarGap,
    this.railTopPadding = 8,
    this.sidebarSpacing = 4,
    this.drawerTransformsBackdrop = false,
    this.onIndexChanged,
    this.sidebarFooter,
    required this.tabs,
    this.customNavigationBuilder,
    this.endSide = false,
    this.type = NavigationType.bottomNavigationBar});