TransitionableNavigationBar constructor

TransitionableNavigationBar({
  1. required NavigationBarStaticComponentsKeys componentsKeys,
  2. required Color? backgroundColor,
  3. required TextStyle backButtonTextStyle,
  4. required TextStyle titleTextStyle,
  5. required TextStyle? largeTitleTextStyle,
  6. required Border? border,
  7. required bool hasUserMiddle,
  8. required bool largeExpanded,
  9. required bool searchBarHasFocus,
  10. required Widget child,
})

Implementation

TransitionableNavigationBar({
  required this.componentsKeys,
  required this.backgroundColor,
  required this.backButtonTextStyle,
  required this.titleTextStyle,
  required this.largeTitleTextStyle,
  required this.border,
  required this.hasUserMiddle,
  required this.largeExpanded,
  required this.searchBarHasFocus,
  required this.child,
})  : assert(!largeExpanded || largeTitleTextStyle != null),
      super(key: componentsKeys.navBarBoxKey);