SolidNavigationManager constructor
const
SolidNavigationManager({ - Key? key,
- SolidNavigationConfig config = const SolidNavigationConfig(),
- required List<SolidNavTab> tabs,
- required int selectedIndex,
- required void onTabSelected(
- int
),
- required Widget content,
- SolidNavUserInfo? userInfo,
- void onLogout(
- BuildContext
)?,
- void onShowAlert(
- BuildContext,
- String,
- String?
)?,
- PreferredSizeWidget? appBar,
- Color? backgroundColor,
- Widget? floatingActionButton,
- List<Widget>? additionalDrawerItems,
- double? navBarMinWidth,
- double? navBarGroupAlignment,
- double? navBarIconSize,
- double? navBarLabelFontSize,
- ShapeBorder? drawerShape,
- IconData? logoutIcon,
- String? logoutText,
- 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,
});