ResponsiveAppBar constructor

ResponsiveAppBar({
  1. Key? key,
  2. Widget? title,
  3. Widget? leading,
  4. bool automaticallyImplyLeading = true,
  5. List<Widget>? actions,
  6. Widget? flexibleSpace,
  7. PreferredSizeWidget? bottom,
  8. double? elevation,
  9. ShapeBorder? shape,
  10. Color? backgroundColor,
  11. SystemUiOverlayStyle? systemUiOverlayStyle,
  12. IconThemeData? iconTheme,
  13. IconThemeData? actionsIconTheme,
  14. TextStyle? titleTextStyle,
  15. bool primary = true,
  16. bool centerTitle = true,
  17. bool excludeHeaderSemantics = false,
  18. double titleSpacing = NavigationToolbar.kMiddleSpacing,
  19. double toolbarOpacity = 1.0,
  20. double bottomOpacity = 1.0,
})

Implementation

ResponsiveAppBar({
  Key? key,
  Widget? title,
  Widget? leading,
  bool automaticallyImplyLeading = true,
  List<Widget>? actions,
  Widget? flexibleSpace,
  PreferredSizeWidget? bottom,
  double? elevation,
  ShapeBorder? shape,
  Color? backgroundColor,
  SystemUiOverlayStyle? systemUiOverlayStyle,
  IconThemeData? iconTheme,
  IconThemeData? actionsIconTheme,
  TextStyle? titleTextStyle,
  bool primary = true,
  bool centerTitle = true,
  bool excludeHeaderSemantics = false,
  double titleSpacing = NavigationToolbar.kMiddleSpacing,
  double toolbarOpacity = 1.0,
  double bottomOpacity = 1.0,
}) : super(
  key: key,
  title: title,
  leading: leading,
  automaticallyImplyLeading: automaticallyImplyLeading,
  actions: actions,
  flexibleSpace: flexibleSpace,
  bottom: bottom,
  elevation: elevation,
  shape: shape,
  backgroundColor: backgroundColor,
  systemOverlayStyle: systemUiOverlayStyle,
  iconTheme: iconTheme,
  actionsIconTheme: actionsIconTheme,
  titleTextStyle: titleTextStyle,
  primary: !ResponsiveHelper.currently(ScreenType.Watch),
  centerTitle: centerTitle,
  excludeHeaderSemantics: excludeHeaderSemantics,
  titleSpacing: titleSpacing,
  toolbarOpacity: toolbarOpacity,
  bottomOpacity: bottomOpacity,
);