HapticFeedback class

Constructors

HapticFeedback()

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

impactOccurred(HapticFeedbackImpact impact) → void
A method tells that an impact occurred. The Telegram app may play the appropriate haptics based on style value passed
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
notificationOccurred(HapticFeedbackNotificationType type) → void
A method tells that a task or action has succeeded, failed, or produced a warning. The Telegram app may play the appropriate haptics based on type value passed.
selectionChanged() → void
A method tells that the user has changed a selection. The Telegram app may play the appropriate haptics. Warning!!! Do not use this feedback when the user makes or confirms a selection; use it only when the selection changes.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Properties

instance HapticFeedback
no setter