FeedbackConfig class

Constructors

FeedbackConfig({bool enabled = true, bool hapticsEnabled = true, bool soundEnabled = true, double volume = 0.8, FeedbackProfile profile = FeedbackProfile.tactile})
const

Properties

enabled → bool
final
hapticsEnabled → bool
final
hashCode → int
The hash code for this object.
no setterinherited
profile → FeedbackProfile
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
soundEnabled → bool
final
volume → double
final

Methods

copyWith({bool? enabled, bool? hapticsEnabled, bool? soundEnabled, double? volume, FeedbackProfile? profile}) → FeedbackConfig
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