CustomSliverAppBar constructor
const
CustomSliverAppBar({
- Key? key,
- Widget? leading,
- Widget? title,
- Widget? actions,
- Widget? background,
- Color? toolBarColor,
- OnSliverPinnedPersistentHeaderDelegateBuild? onBuild,
- double? statusBarHeight,
- double? toolbarHeight,
- bool isOpacityFadeWithToolbar = true,
- bool isOpacityFadeWithTitle = true,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
- CrossAxisAlignment crossAxisAlignment = CrossAxisAlignment.center,
Implementation
const CustomSliverAppBar({
super.key,
this.leading,
this.title,
this.actions,
this.background,
this.toolBarColor,
this.onBuild,
this.statusBarHeight,
this.toolbarHeight,
this.isOpacityFadeWithToolbar = true,
this.isOpacityFadeWithTitle = true,
this.mainAxisAlignment = MainAxisAlignment.spaceBetween,
this.crossAxisAlignment = CrossAxisAlignment.center,
});