AtomicAppBar constructor
const
AtomicAppBar({
- Key? key,
- Widget? leading,
- bool automaticallyImplyLeading = true,
- Widget? title,
- List<
Widget> ? actions, - Widget? flexibleSpace,
- PreferredSizeWidget? bottom,
- double? elevation,
- Color? shadowColor,
- Color? surfaceTintColor,
- Color? backgroundColor,
- Color? foregroundColor,
- bool primary = true,
- bool? centerTitle,
- bool excludeHeaderSemantics = false,
- double? titleSpacing,
- double toolbarOpacity = 1.0,
- double bottomOpacity = 1.0,
- double? toolbarHeight,
- double? leadingWidth,
- AtomicAppBarVariant variant = AtomicAppBarVariant.standard,
- AtomicAppBarSize size = AtomicAppBarSize.medium,
- Gradient? gradient,
- bool blur = false,
- bool showBackButton = true,
- 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,
});