Toggleable class abstract

Has a binary state that may be toggled on or off.

An example is a checkbox (isChecked) or an expansion panel (isExpanded).

Constructors

Toggleable()

Properties

hashCode int
The hash code for this object.
no setterinherited
isOn bool
getter/setter pair
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
toggle() → void
toString() String
A string representation of this object.
inherited

Operators

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