movieStar static method
- Key? key,
- SolidNavigationConfig? config,
- required List<
SolidNavTab> tabs, - required int selectedIndex,
- required void onTabSelected(),
- required Widget content,
- SolidNavUserInfo? userInfo,
- void onLogout()?,
- void onShowAlert()?,
- PreferredSizeWidget? appBar,
- Color? backgroundColor,
- Widget? floatingActionButton,
- List<
Widget> ? additionalDrawerItems,
Creates a navigation manager with MovieStar-specific defaults.
Implementation
static SolidNavigationManager movieStar({
Key? key,
SolidNavigationConfig? config,
required List<SolidNavTab> tabs,
required int selectedIndex,
required void Function(int) onTabSelected,
required Widget content,
SolidNavUserInfo? userInfo,
void Function(BuildContext)? onLogout,
void Function(BuildContext, String, String?)? onShowAlert,
PreferredSizeWidget? appBar,
Color? backgroundColor,
Widget? floatingActionButton,
List<Widget>? additionalDrawerItems,
}) {
return SolidNavigationManager(
key: key,
config: config ?? const SolidNavigationConfig(),
tabs: tabs,
selectedIndex: selectedIndex,
onTabSelected: onTabSelected,
content: content,
userInfo: userInfo,
onLogout: onLogout,
onShowAlert: onShowAlert,
appBar: appBar,
backgroundColor: backgroundColor,
floatingActionButton: floatingActionButton,
additionalDrawerItems: additionalDrawerItems,
);
}