TickingTask class

A task whose onTick method will be called every duration.

Instances of TickingTask are used by the TickingTasks widget.

Constructors

TickingTask({required Duration duration, required VoidCallback onTick})
Create an instance.
const

Properties

duration Duration
How often onTick should be called.
final
hashCode int
The hash code for this object.
no setterinherited
onTick VoidCallback
The function which should be called every duration.
final
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
toString() String
A string representation of this object.
inherited

Operators

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