abstract class Bindable


An object that can be data bound.

Implemented by

Constructors

Bindable()

Properties

hashCode → int

Get a hash code for this object.

read-only, inherited
runtimeType → Type

A representation of the runtime type of the object.

read-only, inherited
value → dynamic

Gets the current value of the bindings. Note: once the value of a Bindable is fetched, the callback passed to open should not be called again with this new value. In other words, any pending change notifications must be discarded.

read / write

Operators

operator ==(other) → bool

The equality operator.

inherited

Methods

close() → void

Stops future notifications and frees the reference to the callback passed to open, so its memory can be collected even if this Bindable is alive.

deliver() → void

Deliver changes. Typically this will perform dirty-checking, if any is needed.

noSuchMethod(Invocation invocation) → dynamic

Invoked when a non-existent method or property is accessed.

inherited
open(callback) → dynamic

Initiates observation and returns the initial value. The callback will be called with the updated value.

toString() → String

Returns a string representation of this object.

inherited