maximize

abstract fun maximize()(source)

Maximizes the window to occupy the full available screen space.

This method adjusts the window size and position to match the screen's dimensions, while respecting any platform-specific constraints or decorations, such as taskbars or system menus. If the window is already maximized, this method has no effect.