DTimerCounter class

计时器

Constructors

DTimerCounter({int interval = 1000})
构造函数

Properties

hashCode int
The hash code for this object.
no setterinherited
isActive bool
Timer是否启动.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

cancel() → void
取消计时器.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
reset() → void
重置
setOnTimerCounterCallback(void callback(int)) → void
计时器回调
startCounter() → void
启动计时Timer.
stop() → void
暂停
toString() String
A string representation of this object.
inherited

Operators

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