TFeedback class abstract final

Central haptic + sound feedback for eyes-off, hands-busy workflows (scan confirmations, quantity steps, errors).

Widgets must call this helper instead of using HapticFeedback directly so that apps can disable or tune feedback in one place.

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

enabled ↔ bool
Globally enables or disables all feedback (e.g. from a user setting).
getter/setter pair
soundEnabled ↔ bool
Also plays a short system sound for success, warning and error.
getter/setter pair

Static Methods

error() → Future<void>
Signals a rejected action (wrong item/location, validation failure).
selection() → Future<void>
Light tick for selection changes (toggle, tab change, chip select).
step() → Future<void>
Soft impact for incremental steps (quantity +/-).
success() → Future<void>
Confirms a successful scan/validation/commit.
warning() → Future<void>
Signals something the operator should double check (e.g. near expiry).