Window class

Window

Primary class to control Flutter instance window.

Constructors

Window()

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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

enterFullscreen() Future<void>
Makes the Flutter window fullscreen.
exitFullscreen() Future<void>
Restores the Flutter window back to normal from fullscreen mode.
hideWindowControls() Future<void>
Hides window controls.
initialize() Future<void>
Initializes the Window class.
setEffect({required WindowEffect effect, Color color = Colors.transparent, bool dark = true}) Future<void>
Sets specified effect for the window.
showWindowControls() Future<void>
Shows window controls.