SliverScreen constructor

const SliverScreen({
  1. ScrollController? sidebarController,
  2. Color? overrideBackgroundColor,
  3. Key? key,
  4. Widget? background,
  5. Widget? fab,
  6. Widget? footer,
  7. Widget? header,
  8. bool? gutter,
  9. double? loadingProgress,
  10. bool loadingProgressIndeterminate = false,
  11. bool showLoadingSparks = false,
  12. ScrollPhysics? physics,
  13. Widget? foreground,
  14. ScrollController? scrollController,
  15. PylonBuilder? sidebar,
  16. required Widget sliver,
})

Constructs a SliverScreen with a required main content sliver and optional customizations for scrolling, theming, and layout. The sliver parameter provides the primary scrollable content, typically a SliverList or SliverGrid for efficient rendering. Use scrollController to manage scroll events and integrate with NestedScrollView for coordinated scrolling. physics allows custom scroll behaviors like bouncing or clamping. sidebarController and sidebar enable Sidebar integration for resizable layouts. Inherits parameters from AbstractScreen for headers, footers, FABs, and loading states, ensuring compatibility with ArcaneTheme and CustomScrollView orchestration.

Implementation

const SliverScreen({
  this.sidebarController,
  super.overrideBackgroundColor,
  super.key,
  super.background,
  super.fab,
  super.footer,
  super.header,
  super.gutter,
  super.loadingProgress,
  super.loadingProgressIndeterminate,
  super.showLoadingSparks,
  this.physics,
  super.foreground,
  this.scrollController,
  this.sidebar,
  required this.sliver,
});