InteractiveBottomSheetOptions class

Options class.

Constructors

InteractiveBottomSheetOptions({Color backgroundColor = Colors.white, bool expand = false, bool snap = true, double maxSize = 1, double initialSize = 0.25, double minimumSize = 0.25, List<double> snapList = const [0.5]})
Contains all options for customization of the InteractiveBottomSheet.
const

Properties

backgroundColor Color
The background color of the whole widget.
final
expand bool
Decides, if the widget should expand to fill the available space in its parent or not.
final
hashCode int
The hash code for this object.
no setterinherited
initialSize double
The initial height of the bottom sheet, goes from 0.0 to 1.0. Note that using values under 0.1 might create problems dragging the widget at all.
final
maxSize double
The maximum height of the bottom sheet.
final
minimumSize double
The minimum height of the bottom sheet. The minimumSize must be smaller than or equal to initialSize.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snap bool
Decides, if the sheet snaps to the nearest position declared in snapList when if the user stops dragging.
final
snapList List<double>
If snap is true, the bottom sheets snaps to the nearest point declared in this list when the user stops dragging.
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