YaruWindowInstance class

A top-level window instance.

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

close() Future<void>
Closes the window.
drag() Future<void>
Starts dragging the window.
fullscreen() Future<void>
Enters fullscreen mode.
hide() Future<void>
Hides the window.
hideTitle() Future<void>
Hides the title bar.
init() Future<void>
Initializes the window.
maximize() Future<void>
Maximizes the window.
minimize() Future<void>
Minimizes the window.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onClose(FutureOr<bool> handler()) Future<void>
Installs a close handler for the window.
restore() Future<void>
Restores the window to its normal state.
setBackground(Color color) Future<void>
Sets the background color of the window.
setBrightness(Brightness brightness) Future<void>
Sets the brightness of the window.
setClosable(bool closable) Future<void>
Sets whether the window can be closed.
setMaximizable(bool maximizable) Future<void>
Sets whether the window can be maximized.
setMinimizable(bool minimizable) Future<void>
Sets whether the window can be minimized.
setTitle(String title) Future<void>
Sets the title of the window.
show() Future<void>
Shows the window.
showMenu() Future<void>
Shows the window menu.
showTitle() Future<void>
Shows the title bar.
state() Future<YaruWindowState>
Returns the current state of the window.
states() Stream<YaruWindowState>
Returns a stream of window state changes.
toString() String
A string representation of this object.
inherited

Operators

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