BubblesSheetHaptics class

Hooks fired at the moments a sheet wants to feel physical.

All null by default — the package deliberately doesn't call HapticFeedback itself, so an app can route these through whatever haptics façade and user setting it already has.

Annotations

Constructors

BubblesSheetHaptics({VoidCallback? onPresent, VoidCallback? onDismiss, VoidCallback? onBack})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
onBack VoidCallback?
A paged sheet stepped back a page.
final
onDismiss VoidCallback?
The close button or a back button was tapped.
final
onPresent VoidCallback?
A sheet is being pushed.
final
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.
override