ViewModelHelpers mixin

Mixin to provide utility methods for ViewModel.

Includes functionalities like adding a delay, or adding a post-frame callback.

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

addPostFrameCallback(FrameCallback frameCallback) → void
Adds a post-frame callback using Flutter's SchedulerBinding.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
wait(int milliseconds) Future<void>
Waits for a specified number of milliseconds.

Operators

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