WindowManagerShell class
WindowShell over package:window_manager.
Constructors
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
-
addMaximizedListener(
ValueChanged< bool> listener) → void - Hear the window cross into or out of maximised, for the button that swaps its glyph. The callback carries the new state.
-
claim(
) → Future< void> - Claim the window for the app's own chrome: hide the native title bar and show the window once the first frame is ready, so it never flashes native chrome on the way up.
-
close(
) → Future< void> -
isMaximized(
) → Future< bool> -
maximize(
) → Future< void> -
minimize(
) → Future< void> -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onWindowBlur(
) → void -
Emitted when the window loses focus.
inherited
-
onWindowClose(
) → void -
Emitted when the window is going to be closed.
inherited
-
onWindowDocked(
) → void -
Emitted when the window entered a docked state.
inherited
-
onWindowEnterFullScreen(
) → void -
Emitted when the window enters a full-screen state.
inherited
-
onWindowEvent(
String eventName) → void -
Emitted all events.
inherited
-
onWindowFocus(
) → void -
Emitted when the window gains focus.
inherited
-
onWindowLeaveFullScreen(
) → void -
Emitted when the window leaves a full-screen state.
inherited
-
onWindowMaximize(
) → void - Emitted when window is maximized.
-
onWindowMinimize(
) → void -
Emitted when the window is minimized.
inherited
-
onWindowMove(
) → void -
Emitted when the window is being moved to a new position.
inherited
-
onWindowMoved(
) → void -
Emitted once when the window is moved to a new position.
inherited
-
onWindowResize(
) → void -
Emitted after the window has been resized.
inherited
-
onWindowResized(
) → void -
Emitted once when the window has finished being resized.
inherited
-
onWindowRestore(
) → void -
Emitted when the window is restored from a minimized state.
inherited
-
onWindowUndocked(
) → void -
Emitted when the window leaves a docked state.
inherited
-
onWindowUnmaximize(
) → void - Emitted when the window exits from a maximized state.
-
removeMaximizedListener(
ValueChanged< bool> listener) → void -
startDragging(
) → Future< void> - Begin moving the window under the pointer.
-
toString(
) → String -
A string representation of this object.
inherited
-
unmaximize(
) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited