Cube class abstract
Base to create Cube
- Inheritance
-
- Object
- SimpleCube
- Cube
- Implementers
Constructors
- Cube()
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
addOnActionListener<
T extends Cube> (OnActionChanged< T, CubeAction> ? listener) → void - Add OnActionListener
-
dispose(
) → void -
called when the cube is destroyed
override
-
listen<
T> (ObservableValue< T> observableValue, ValueChanged<T> listener) → void -
Uses to listen
ObservableValue
inner Cubeinherited -
listenActions(
ValueChanged< CubeAction> listener) → void -
Uses to listen
CubeAction
sended to view -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onReady(
Object? arguments) → Future< void> -
called when the view is ready
arguments
if passed through CubeBuilder, if not, get arguments fromModalRoute.of(context).settings.arguments;
-
removeOnActionListener<
T extends Cube> (OnActionChanged< T, CubeAction> ? listener) → void - Remove OnActionListener
-
runDebounce(
dynamic identify, VoidCallback call, {Duration duration = const Duration(milliseconds: 400)}) → void -
Uses to apply debounce.
inherited
-
sendAction(
CubeAction action) → void - Method to send anything to view
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited