movieStar static method

SolidNavigationManager movieStar({
  1. Key? key,
  2. SolidNavigationConfig? config,
  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,
})

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,
  );
}