Watch<T> class

Available extensions

Constructors

Watch(T _value, {void onChanged(T t)?, T clamp(T t)?})

Properties

clamp ↔ T Function(T t)?
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stream Stream<T>
no setter
value ↔ T
getter/setter pair

Methods

call(T t) → void
decrement() → void

Available on Watch<int>, provided by the ExtensionWatchInt extension

increment() → void

Available on Watch<int>, provided by the ExtensionWatchInt extension

invertSign() → void

Available on Watch<int>, provided by the ExtensionWatchInt extension

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onChanged(void function(T t)) StreamSubscription
setFalse() → void

Available on Watch<bool>, provided by the ExtensionWatchBool extension

setTrue() → void

Available on Watch<bool>, provided by the ExtensionWatchBool extension

toggle() → void

Available on Watch<bool>, provided by the ExtensionWatchBool extension

toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited