SubZeroBottomSheetConfig class
Configuration for the SubZero Bottom Sheet component.
Constructors
- SubZeroBottomSheetConfig({bool barrierDismissible = true, bool showDragHandle = true, bool showCloseButton = true, bool enableDrag = true, double maxDialogWidth = 520, double desktopBreakpoint = 600, Color? backgroundColor, Color? scrimColor, bool useScrollableSheet = false, double initialHeightFraction = 0.5})
-
const
Properties
- backgroundColor → Color?
-
Background color of the sheet.
final
- barrierDismissible → bool
-
Whether the sheet can be dismissed by tapping the scrim.
final
- desktopBreakpoint → double
-
Breakpoint for switching between mobile and desktop layouts.
final
- enableDrag → bool
-
Whether the sheet is draggable on mobile.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- initialHeightFraction → double
-
Initial height fraction for scrollable sheet (0.0 to 1.0).
final
- maxDialogWidth → double
-
Maximum width for desktop/web dialog mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- scrimColor → Color?
-
Color of the scrim overlay.
final
- showCloseButton → bool
-
Whether to show the close button.
final
- showDragHandle → bool
-
Whether to show the drag handle on mobile.
final
- useScrollableSheet → bool
-
Whether to use scrollable content (wrap content in DraggableScrollableSheet).
final
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