HapticPattern class final

A sequence of haptic pulses with pauses between them.

Constructors

HapticPattern(List<HapticImpact> pulses, {Duration pause = const Duration(milliseconds: 110)})
Creates a pattern: pulses separated by pause.
const

Properties

hashCode → int
The hash code for this object.
no setterinherited
pause → Duration
Pause between two pulses.
final
pulses → List<HapticImpact>
The pulses.
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.
inherited