Allows access to the haptic feedback interface on the device.
This API is intentionally terse since it calls default platform behavior. It is not suitable for precise control of the system's haptic feedback module.
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
-
heavyImpact(
) → Future< void> - Provides a haptic feedback corresponding a collision impact with a heavy mass.
-
lightImpact(
) → Future< void> - Provides a haptic feedback corresponding a collision impact with a light mass.
-
mediumImpact(
) → Future< void> - Provides a haptic feedback corresponding a collision impact with a medium mass.
-
selectionClick(
) → Future< void> - Provides a haptic feedback indication selection changing through discrete values.
-
vibrate(
) → Future< void> - Provides vibration haptic feedback to the user for a short duration.