M3EHaptics class abstract final

Shared haptic helpers for Material 3 Expressive components.

Prefer this API over raw HapticFeedback calls so intensity stays consistent and platform no-ops remain centralized.

Properties

hashCode int
The hash code for this object.
no setterinherited
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.
inherited

Static Methods

selection() → void
Fires selection feedback (e.g. discrete slider ticks, picker selection).
trigger(M3EHapticFeedback level) → void
Fires impact feedback for level. M3EHapticFeedback.none is a no-op.