tick method
Creates a command to start the spinner animation.
Call this from your init() method to begin animating.
Implementation
Cmd tick() {
return Cmd(() async {
return SpinnerTickMsg(time: DateTime.now(), id: _id, tag: _tag);
});
}
Creates a command to start the spinner animation.
Call this from your init() method to begin animating.
Cmd tick() {
return Cmd(() async {
return SpinnerTickMsg(time: DateTime.now(), id: _id, tag: _tag);
});
}