SantoMultiClickUtils class

防止多次点击工具类

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

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

Static Methods

isMultiClick({int intervalMilliseconds = 500}) → bool
判断是否是多次点击 intervalMilliseconds 间隔时间,单位毫秒,默认500毫秒
reset() → void
重置上次点击时间