SnappingScrollNotificationHandler class

Constructors

SnappingScrollNotificationHandler({required double expandedBarHeight, required double collapsedBarHeight, double bottomBarHeight = 0.0, bool shouldAddHapticFeedback = false})
SnappingScrollNotificationHandler.withHapticFeedback({required double expandedBarHeight, required double collapsedBarHeight, double bottomBarHeight = 0.0})
factory

Properties

bottomBarHeight double
final
collapsedBarHeight double
final
expandedBarHeight double
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shouldAddHapticFeedback bool
final

Methods

handleScrollNotification({required ScrollNotification notification, required ScrollController scrollController, required ValueNotifier<bool> isCollapsedValueNotifier, CollapsingStateCallback? onCollapseStateChanged}) bool
Scrolling Notification listener
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