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.
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.
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.
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.
The window_size plugin will let you find the size of the screen and resize the window.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With