NavigationBarStaticComponents constructor

NavigationBarStaticComponents({
  1. required NavigationBarStaticComponentsKeys keys,
  2. required ModalRoute? route,
  3. required Widget? userLeading,
  4. required bool automaticallyImplyLeading,
  5. required bool automaticallyImplyTitle,
  6. required String? previousPageTitle,
  7. required Widget? userMiddle,
  8. required Widget? userTrailing,
  9. required Widget? userLargeTitle,
  10. required Widget? largeTitleActions,
  11. required Widget? appbarBottom,
  12. required EdgeInsetsDirectional? padding,
  13. required bool large,
})

Implementation

NavigationBarStaticComponents({
  required NavigationBarStaticComponentsKeys keys,
  required ModalRoute<dynamic>? route,
  required Widget? userLeading,
  required bool automaticallyImplyLeading,
  required bool automaticallyImplyTitle,
  required String? previousPageTitle,
  required Widget? userMiddle,
  required Widget? userTrailing,
  required Widget? userLargeTitle,
  required Widget? largeTitleActions,
  required Widget? appbarBottom,
  required EdgeInsetsDirectional? padding,
  required bool large,
})  : leading = createLeading(
        leadingKey: keys.leadingKey,
        userLeading: userLeading,
        route: route,
        automaticallyImplyLeading: automaticallyImplyLeading,
        padding: padding,
      ),
      backChevron = createBackChevron(
        backChevronKey: keys.backChevronKey,
        userLeading: userLeading,
        route: route,
        automaticallyImplyLeading: automaticallyImplyLeading,
      ),
      backLabel = createBackLabel(
        backLabelKey: keys.backLabelKey,
        userLeading: userLeading,
        route: route,
        previousPageTitle: previousPageTitle,
        automaticallyImplyLeading: automaticallyImplyLeading,
      ),
      middle = createMiddle(
        middleKey: keys.middleKey,
        userMiddle: userMiddle,
        userLargeTitle: userLargeTitle,
        route: route,
        automaticallyImplyTitle: automaticallyImplyTitle,
        large: large,
      ),
      trailing = createTrailing(
        trailingKey: keys.trailingKey,
        userTrailing: userTrailing,
        padding: padding,
      ),
      largeTitle = createLargeTitle(
        largeTitleKey: keys.largeTitleKey,
        userLargeTitle: userLargeTitle,
        route: route,
        automaticImplyTitle: automaticallyImplyTitle,
        large: large,
      ),
      largeTitleActions = createLargeTitleActions(
        largeTitleActionsKey: keys.largeTitleActionsKey,
        largeTitleActions: largeTitleActions,
        padding: padding,
      ),
      appbarBottom = createAppbarBottom(
        appbarBottomKey: keys.appbarBottomKey,
        appbarBottom: appbarBottom,
        route: route,
      );