SnappingAppBarBody constructor
const
SnappingAppBarBody({
- Key? key,
- required ScrollController scrollController,
- required Widget expandedContent,
- required Widget collapsedBar,
- required double collapsedBarHeight,
- required Widget sliver,
- ScrollBehavior? scrollBehavior,
- Widget? leading,
- bool floating = false,
- bool pinned = false,
- bool snap = false,
- bool stretch = false,
- Widget? backdropWidget,
- double? expandedContentHeight,
- Color? collapsedBackgroundColor,
- Color? expandedBackgroundColor,
- List<
Widget> ? actions, - PreferredSizeWidget? bottom,
- bool isCollapsed = false,
- bool automaticallyImplyLeading = false,
- double? elevation = 0,
- bool forceElevated = false,
Implementation
const SnappingAppBarBody({
super.key,
required this.scrollController,
required this.expandedContent,
required this.collapsedBar,
required this.collapsedBarHeight,
required this.sliver,
this.scrollBehavior,
this.leading,
this.floating = false,
this.pinned = false,
this.snap = false,
this.stretch = false,
this.backdropWidget,
this.expandedContentHeight,
this.collapsedBackgroundColor,
this.expandedBackgroundColor,
this.actions,
this.bottom,
this.isCollapsed = false,
this.automaticallyImplyLeading = false,
this.elevation = 0,
this.forceElevated = false,
});