MacosHapticFeedbackPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • MacosHapticFeedbackPlatform
Implementers

Constructors

MacosHapticFeedbackPlatform.new()
Constructs a MacosHapticFeedbackPlatform.

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

alignment() Future<void>
A haptic feedback pattern to be used in response to the alignment of an object the user is dragging around. For example, this pattern of feedback could be used in a drawing app when the user drags a shape into alignment with another shape. Other scenarios where this type of feedback could be used might include scaling an object to fit within specific dimensions, positioning an object at a preferred location, or reaching the beginning/minimum or end/maximum of something, such as a track view in an audio/video app.
generic() Future<void>
A general haptic feedback pattern. Use this when no other feedback patterns apply.
levelChange() Future<void>
A haptic feedback pattern to be used as the user moves between discrete levels of pressure. This pattern of feedback is used by multilevel accelerator buttons (class NSMultiLevelAcceleratorButton).
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

instance MacosHapticFeedbackPlatform
The default instance of MacosHapticFeedbackPlatform to use.
getter/setter pair