Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change the Flutter desktop app window size

I am trying to build a desktop app with flutter. I want to display the app window half the size of screen when login screen of the app is visible.

Is there a way to change the size of the App window programmatically? Actually I am new to dart and flutter Please help me, I can't find a way to do it.

like image 907
Rahul Singh Avatar asked Jun 24 '20 07:06

Rahul Singh


People also ask

How do I change my Flutter app to my desktop?

Download the desktop project in Go here (version that is currently running and supporting Windows, macOS and Linux). Unzip the contents of the downloaded file to any directory on your operating system. Rename the directory extracted from go-flutter-desktop-embedder-0.2. 1-alpha to go-flutter-desktop-embedder.

Is Flutter desktop stable?

Flutter 2.10 is now available, which includes stable support for Windows. Flutter has supported Linux, Windows, and macOS in beta for a while now, but Windows is the first to reach stable status.

Is Flutter good for Windows app?

Flutter provides support for compiling a native Windows, macOS, or Linux desktop app. Flutter's desktop support also extends to plugins—you can install existing plugins that support the Windows, macOS, or Linux platforms, or you can create your own. Note: This page covers developing apps for all desktop platforms.


1 Answers

The window_size plugin will let you find the size of the screen and resize the window.

like image 172
smorgan Avatar answered Nov 06 '22 02:11

smorgan