ScalifySliverAppBar constructor

const ScalifySliverAppBar({
  1. Key? key,
  2. required String title,
  3. TextStyle? titleStyle,
  4. double mobileExpandedHeight = 200.0,
  5. double? tabletExpandedHeight,
  6. double? desktopExpandedHeight,
  7. Widget? flexibleBackground,
  8. bool pinned = true,
  9. bool floating = false,
  10. bool stretch = true,
  11. Widget? leading,
  12. List<Widget>? actions,
  13. Color? backgroundColor,
  14. Color? foregroundColor,
  15. double elevation = 0.0,
  16. CollapseMode collapseMode = CollapseMode.parallax,
})

Creates a ScalifySliverAppBar.

Implementation

const ScalifySliverAppBar({
  super.key,
  required this.title,
  this.titleStyle,
  this.mobileExpandedHeight = 200.0,
  this.tabletExpandedHeight,
  this.desktopExpandedHeight,
  this.flexibleBackground,
  this.pinned = true,
  this.floating = false,
  this.stretch = true,
  this.leading,
  this.actions,
  this.backgroundColor,
  this.foregroundColor,
  this.elevation = 0.0,
  this.collapseMode = CollapseMode.parallax,
});