AtomicAppBar constructor

const AtomicAppBar({
  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,
  9. Color? shadowColor,
  10. Color? surfaceTintColor,
  11. Color? backgroundColor,
  12. Color? foregroundColor,
  13. bool primary = true,
  14. bool? centerTitle,
  15. bool excludeHeaderSemantics = false,
  16. double? titleSpacing,
  17. double toolbarOpacity = 1.0,
  18. double bottomOpacity = 1.0,
  19. double? toolbarHeight,
  20. double? leadingWidth,
  21. AtomicAppBarVariant variant = AtomicAppBarVariant.standard,
  22. AtomicAppBarSize size = AtomicAppBarSize.medium,
  23. Gradient? gradient,
  24. bool blur = false,
  25. bool showBackButton = true,
  26. VoidCallback? onBackPressed,
})

Implementation

const AtomicAppBar({
  super.key,
  this.leading,
  this.automaticallyImplyLeading = true,
  this.title,
  this.actions,
  this.flexibleSpace,
  this.bottom,
  this.elevation,
  this.shadowColor,
  this.surfaceTintColor,
  this.backgroundColor,
  this.foregroundColor,
  this.primary = true,
  this.centerTitle,
  this.excludeHeaderSemantics = false,
  this.titleSpacing,
  this.toolbarOpacity = 1.0,
  this.bottomOpacity = 1.0,
  this.toolbarHeight,
  this.leadingWidth,
  this.variant = AtomicAppBarVariant.standard,
  this.size = AtomicAppBarSize.medium,
  this.gradient,
  this.blur = false,
  this.showBackButton = true,
  this.onBackPressed,
});