MethodChannelXWindow class
Production XWindow, over the ux/window channels.
- Implemented types
Constructors
- MethodChannelXWindow()
- Subscribes to the native event channel where one is registered.
Properties
-
focused
→ ValueEmitter<
bool> -
truewhen this app currently has user focus.final - hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
keepAwake(
bool enabled) → Future< void> -
Holds the screen awake while
enabled, for a call or another session the user watches without touching the device. Idempotent.override -
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