ButtonBinding class final Bindings

A press. An analog control presses once it reaches pressPoint and releases once it falls below releasePoint, so a trigger resting near the threshold does not chatter.

Inheritance

Constructors

ButtonBinding(Control control, {double pressPoint = 0.5, double releasePoint = 0.4, List<Processor> processors = const []})
A press of control.
const

Properties

control → Control
The control pressed.
final
controls → Iterable<Control>
The controls whose values this binding reads, excluding gate modifiers. These are what a firing binding consumes for lower contexts.
no setteroverride
hashCode → int
The hash code for this object.
no setterinherited
parts → Map<String, Control>
The named parts a rebind can address individually (up, down), or empty for a binding with a single control.
no setterinherited
pressPoint → double
The value at or above which the control presses.
final
processors → List<Processor>
Transforms applied to this binding's value, in order.
finalinherited
releasePoint → double
The value below which a pressed control releases.
final
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