EventxxControl_c class

Constructors

EventxxControl_c()

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

checkTimeOut<T>(Future<T> future, Duration duration, {FutureOr<T?> onDone(T value, bool isTimeOut)?}) Future<T?>
  • 检查future的执行是否超时 该函数只会在future完成后才会调用onDone并返回结果
  • 注意,部分阻塞会导致startTimeendTimefuture一段时间后返回后仍然相等, 导致isTimeOut永远为false。例如win端调用系统选择文件夹路径接口