TickingInterface class abstract interface

A ticking interface that provides methods to control the ticking of the widget.

Implementers
Annotations
  • @Deprecated('This is moved to another package. Please use the `ticking_widget` package instead. This package will be removed in the next major version.')

Properties

currentTime DateTime
The current time when the widget is being rebuilt.
getter/setter pair
elapsed Duration
Duration elapsed since the ticker started. Resets to zero when ticker is started.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mode TickingMode
The mode of ticking. It can be millisecond, second, minute, or hour. This is used to determine when to rebuild the widget.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ticker Ticker
The ticker that is used to control the ticking of the widget.
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setMode(TickingMode mode) → void
Sets the mode of the ticker to the given TickingMode.
startTicker() → void
Starts the ticker.
stopTicker() → void
Stops the ticker.
toString() String
A string representation of this object.
inherited

Operators

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