MiniProgramInteractionExecution class final

Internal origin propagation. Calling a UI callback programmatically never manufactures a native user gesture. The zone also follows async callbacks.

Constructors

MiniProgramInteractionExecution({required bool isAllowed()})

Properties

active ↔ bool
getter/setter pair
cancelled ↔ bool
getter/setter pair
failed ↔ bool
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isAllowed → bool Function()
final
lastResult ↔ Object?
getter/setter pair
pending ↔ int
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
waitingForPanel ↔ bool
getter/setter pair

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
run<T>(T body()) → T
toString() → String
A string representation of this object.
inherited
track<T>(Future<T> future) → Future<T>

Operators

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

Static Properties

current → MiniProgramInteractionExecution?
no setter

Static Methods

delay(Duration duration, FutureOr<void> callback()) → Timer
Keeps a debounced UI operation pending until it runs or is cancelled.