WindowListener class abstract mixin

The pre-nativeapi window event callbacks.

nativeapi reports fewer events than the platform channels did: see the per-callback notes for the ones that no longer fire.

Annotations
  • @Deprecated('The 0.5.x compatible API will be removed in a future release. Use the native API from package:window_manager/window_manager.dart.')

Constructors

WindowListener()

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
onWindowBlur() → void
Emitted when the window loses focus.
onWindowClose() → void
Emitted when the window is going to be closed.
onWindowDocked() → void
Emitted when the window entered a docked state.
onWindowEnterFullScreen() → void
Emitted when the window enters a full-screen state.
onWindowEvent(String eventName) → void
Emitted all events.
onWindowFocus() → void
Emitted when the window gains focus.
onWindowLeaveFullScreen() → void
Emitted when the window leaves a full-screen state.
onWindowMaximize() → void
Emitted when window is maximized.
onWindowMinimize() → void
Emitted when the window is minimized.
onWindowMove() → void
Emitted when the window is being moved to a new position.
onWindowMoved() → void
Emitted once when the window is moved to a new position.
onWindowResize() → void
Emitted after the window has been resized.
onWindowResized() → void
Emitted once when the window has finished being resized.
onWindowRestore() → void
Emitted when the window is restored from a minimized state.
onWindowUndocked() → void
Emitted when the window leaves a docked state.
onWindowUnmaximize() → void
Emitted when the window exits from a maximized state.
toString() → String
A string representation of this object.
inherited

Operators

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