SnappingAppBarBody constructor

const SnappingAppBarBody({
  1. Key? key,
  2. required ScrollController scrollController,
  3. required Widget expandedContent,
  4. required Widget collapsedBar,
  5. required double collapsedBarHeight,
  6. required Widget sliver,
  7. ScrollBehavior? scrollBehavior,
  8. Widget? leading,
  9. bool floating = false,
  10. bool pinned = false,
  11. bool snap = false,
  12. bool stretch = false,
  13. Widget? backdropWidget,
  14. double? expandedContentHeight,
  15. Color? collapsedBackgroundColor,
  16. Color? expandedBackgroundColor,
  17. List<Widget>? actions,
  18. PreferredSizeWidget? bottom,
  19. bool isCollapsed = false,
  20. bool automaticallyImplyLeading = false,
  21. double? elevation = 0,
  22. 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,
});