ScalifySliverAppBar constructor
const
ScalifySliverAppBar({
- Key? key,
- required String title,
- TextStyle? titleStyle,
- double mobileExpandedHeight = 200.0,
- double? tabletExpandedHeight,
- double? desktopExpandedHeight,
- Widget? flexibleBackground,
- bool pinned = true,
- bool floating = false,
- bool stretch = true,
- Widget? leading,
- List<
Widget> ? actions, - Color? backgroundColor,
- Color? foregroundColor,
- double elevation = 0.0,
- 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,
});