WindowFocusPlatform class abstract

Inheritance
  • Object
  • PlatformInterface
  • WindowFocusPlatform
Implementers

Constructors

WindowFocusPlatform()
Constructs a WindowFocusPlatform.

Properties

hashCode int
The hash code for this object.
no setterinherited
idleThreshold Future<Duration>
no setter
isUserActive bool
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

addFocusChangeListener(dynamic listener(AppWindowDto)) → void
addUserActiveListener(dynamic listener(bool)) → void
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
removeFocusChangeListener(dynamic listener(AppWindowDto)) → void
removeUserActiveListener(dynamic listener(bool)) → void
setIdleThreshold(Duration duration) → void
toString() String
A string representation of this object.
inherited

Operators

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

Static Properties

instance WindowFocusPlatform
The default instance of WindowFocusPlatform to use.
getter/setter pair