CustomSliverAppBar constructor

const CustomSliverAppBar({
  1. Key? key,
  2. Widget? leading,
  3. Widget? title,
  4. Widget? actions,
  5. Widget? background,
  6. Color? toolBarColor,
  7. OnSliverPinnedPersistentHeaderDelegateBuild? onBuild,
  8. double? statusBarHeight,
  9. double? toolbarHeight,
  10. bool isOpacityFadeWithToolbar = true,
  11. bool isOpacityFadeWithTitle = true,
  12. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.spaceBetween,
  13. 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,
});