SolidNavigationManager constructor

const SolidNavigationManager({
  1. Key? key,
  2. SolidNavigationConfig config = const SolidNavigationConfig(),
  3. required List<SolidNavTab> tabs,
  4. required int selectedIndex,
  5. required void onTabSelected(
    1. int
    ),
  6. required Widget content,
  7. SolidNavUserInfo? userInfo,
  8. void onLogout(
    1. BuildContext
    )?,
  9. void onShowAlert(
    1. BuildContext,
    2. String,
    3. String?
    )?,
  10. PreferredSizeWidget? appBar,
  11. Color? backgroundColor,
  12. Widget? floatingActionButton,
  13. List<Widget>? additionalDrawerItems,
  14. double? navBarMinWidth,
  15. double? navBarGroupAlignment,
  16. double? navBarIconSize,
  17. double? navBarLabelFontSize,
  18. ShapeBorder? drawerShape,
  19. IconData? logoutIcon,
  20. String? logoutText,
  21. bool showLogout = true,
})

Implementation

const SolidNavigationManager({
  super.key,
  this.config = const SolidNavigationConfig(),
  required this.tabs,
  required this.selectedIndex,
  required this.onTabSelected,
  required this.content,
  this.userInfo,
  this.onLogout,
  this.onShowAlert,
  this.appBar,
  this.backgroundColor,
  this.floatingActionButton,
  this.additionalDrawerItems,
  this.navBarMinWidth,
  this.navBarGroupAlignment,
  this.navBarIconSize,
  this.navBarLabelFontSize,
  this.drawerShape,
  this.logoutIcon,
  this.logoutText,
  this.showLogout = true,
});