M3EHapticFeedback enum

Haptic feedback intensity levels for Material 3 Expressive components.

Levels

  • none — No haptic feedback (default)
  • light — Light tap feedback for subtle interactions
  • medium — Medium impact for standard button presses
  • heavy — Heavy impact for significant actions
Inheritance
Available extensions

Values

none → const M3EHapticFeedback

No haptic feedback.

const M3EHapticFeedback(0)
light → const M3EHapticFeedback

Light tap feedback.

const M3EHapticFeedback(1)
medium → const M3EHapticFeedback

Medium impact feedback.

const M3EHapticFeedback(2)
heavy → const M3EHapticFeedback

Heavy impact feedback.

const M3EHapticFeedback(3)

Properties

hashCode int
The hash code for this object.
no setterinherited
index int
A numeric identifier for the enumerated value.
no setterinherited
name String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
value int
final

Methods

apply() → void
Helper function to apply haptic feedback based on M3EHapticFeedback.
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

Constants

values → const List<M3EHapticFeedback>
A constant List of the values in this enum, in order of their declaration.