CustomAppBar constructor

const CustomAppBar({
  1. Key? key,
  2. Widget? leading,
  3. bool automaticallyImplyLeading = true,
  4. Widget? title,
  5. List<Widget>? actions,
  6. Widget? flexibleSpace,
  7. PreferredSizeWidget? bottom,
  8. double? elevation = 0,
  9. Color? shadowColor,
  10. ShapeBorder? shape,
  11. Color? backgroundColor,
  12. Color? foregroundColor,
  13. IconThemeData? iconTheme,
  14. IconThemeData? actionsIconTheme,
  15. TextTheme? textTheme,
  16. bool primary = true,
  17. bool? centerTitle,
  18. bool excludeHeaderSemantics = false,
  19. double? titleSpacing,
  20. double toolbarOpacity = 1.0,
  21. double bottomOpacity = 1.0,
  22. double? toolbarHeight,
  23. double? leadingWidth,
  24. TextStyle? toolbarTextStyle,
  25. TextStyle? titleTextStyle,
  26. SystemUiOverlayStyle? systemOverlayStyle,
})

Implementation

const CustomAppBar({
  Key? key,
  this.leading,
  this.automaticallyImplyLeading = true,
  this.title,
  this.actions,
  this.flexibleSpace,
  this.bottom,
  this.elevation = 0,
  this.shadowColor,
  this.shape,
  this.backgroundColor,
  this.foregroundColor,
  this.iconTheme,
  this.actionsIconTheme,
  this.textTheme,
  this.primary = true,
  this.centerTitle,
  this.excludeHeaderSemantics = false,
  this.titleSpacing,
  this.toolbarOpacity = 1.0,
  this.bottomOpacity = 1.0,
  this.toolbarHeight,
  this.leadingWidth,
  this.toolbarTextStyle,
  this.titleTextStyle,
  this.systemOverlayStyle,
}) : super(key: key);