Vibrate class

Constructors

Vibrate()

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 Properties

canVibrate Future<bool>
Whether the device can actually vibrate or not
no setter

Static Methods

feedback(FeedbackType type) → void
vibrate() Future
Vibrate for 500ms on Android, and for the default time on iOS (about 500ms as well)
vibrateWithPauses(Iterable<Duration> pauses) Future
Vibrates with pauses in between each vibration Will always vibrate once before the first pause and once after the last pause

Constants

defaultVibrationDuration → const Duration