ScrollBottomSheet class

A simple utility class to manage scroll bottom sheets throughout the app.

Allows opening a bottom sheet with custom content, automatically applying any globally set configuration for consistent styling and behavior.

Dismiss the sheet with Navigator.pop when needed.

Constructors

ScrollBottomSheet()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

config ↔ ScrollBottomSheetConfig?
Optional global configuration that applies to all bottom sheets opened via this utility, overriding default animation and style settings.
getter/setter pair

Static Methods

open<T>(BuildContext context, Widget body, {ScrollBottomSheetConfig? config}) → Future<T?>
Opens a bottom sheet by pushing a ScrollBottomSheetRoute onto the navigation stack.