ScrollableBottomSheetConfig class

A bottom sheet config that has a scrollable content inside of it The builder provides a ScrollController that can be used to be attached to the content of the bottom sheet for better scrolling behaviour

Inheritance

Constructors

ScrollableBottomSheetConfig({required BottomSheetChildBuilder builder, double initialChildSize = 0.5, double minChildSize = 0.25, double maxChildSize = 1.0, bool expand = false, bool snap = true, List<double>? snapSizes, DraggableScrollableController? controller, bool isScrollControlled = true, bool enableDrag = true, bool adjustToKeyboardChanges = true})
const

Properties

adjustToKeyboardChanges bool
finalinherited
builder BottomSheetChildBuilder
finalinherited
controller DraggableScrollableController?
final
enableDrag bool
finalinherited
expand bool
final
hashCode int
The hash code for this object.
no setterinherited
initialChildSize double
final
isScrollControlled bool
finalinherited
maxChildSize double
final
minChildSize double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
snap bool
final
snapSizes List<double>?
final

Methods

build(BuildContext context) Widget
override
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