Dedicated to questions about Flutter desktop implementation. Use (flutter) instead for questions about flutter in general, or (flutter-web) if question are about issues using flutter to design web applications.
Questions tagged [flutter-desktop]
352 questions
10
votes
1 answer
How to add video player for desktop (macOS and Windows) to a flutter
I need to make a program with a video player that will be supported everywhere. I use the video_player library, but it's only for iOS and Android, and I need and for macOS and Windows.

Nazar Kovalik
- 109
- 4
10
votes
1 answer
How can I run a Flutter Linux desktop application in full screen?
I need to run a Flutter Linux application in full screen, how can this be achieved? I've looked at the WindowUtils plugin but it only supports desktop embedding.

Dah Person
- 369
- 1
- 13
8
votes
6 answers
How to clear flutter desktop app data like flutter mobile app
i'm working on flutter desktop app and i want to clear app database, Like as we do on mobile, we go to app settings and clear cache and data, to reset app settings. Likewise i want to do the same with desktop app. Can anyone help me how to do…

Dev94
- 757
- 6
- 24
8
votes
2 answers
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…

Rahul Singh
- 195
- 2
- 2
- 13
7
votes
0 answers
Convert speech to text in flutter for desktop(Windows) application
I am developing a cross platform application in flutter and cannot find any sources for converting speech to text in desktop(windows).
I tried using packages like speech_to_text
I even tried google_speech in which it require an audio file to…

Sai Krishna
- 71
- 2
7
votes
1 answer
Letting the mouse pass through Windows Flutter
I am working on a Flutter Desktop screen Annotation Application where I want to ignore the mouse events and let is pass through the window (so I can click on desktop application shortcut) when the icon(Red Box) Activated, and ignore it when one of…

Anas-Qasem
- 185
- 10
7
votes
6 answers
flutter for Desktop, Visual Studio 2022 problem
i get this message when try to run flutter application on the Windows,
Building Windows application...
CMake Error at CMakeLists.txt:2 (project):
Generator
Visual Studio 16 2019
could not find any instance of Visual Studio.
i have…

Osama Mohammed
- 2,433
- 13
- 29
- 61
7
votes
3 answers
MissingPluginException(No implementation found for method init on channel com.ryanheise.just_audio.methods)
I am building a desktop application using flutter where I need to play audio files from local storage and for this I am using just_audio flutter package since it supports Windows. But I Couldn't find any examples of it for windows. I have coded…

Sadikul Haque Sadi
- 387
- 5
- 17
7
votes
2 answers
Flutter Windows Desktop app gets stuck on white screen after msix installation
Background
I just developed my first flutter desktop app for a windows machine. The app is working fine while developing/debugging it, but I am trying to test it as an application in release mode.
What’s done
I created an msix using pub msix.
For…

Junaid Rehmat
- 305
- 2
- 15
7
votes
2 answers
Google & Microsoft OAuth2 login flow Flutter Desktop (MacOS, Windows, Linux)
How do you implement Google OAuth2 or Microsoft (Azure) OAuth2 login on Flutter Desktop?

Neal Soni
- 556
- 1
- 5
- 13
7
votes
3 answers
Flutter MacOs access to files
I'm trying to build app a custom desktop app in Flutter to be able to load pictures, like a gallery.
To do so, I will ask to the user to pick a folder, and automatically it should show the pictures.
Now, starting from simple things, since it's first…

Tizianoreica
- 2,142
- 3
- 28
- 43
7
votes
2 answers
How to tell if a Flutter Desktop app is the currently active / focused window?
When I click a different window in my desktop manager, my flutter desktop app is no longer the active / focused window (title bar goes grey).
How can I listen for this event?
I've tried a MouseRegion but it seems that onExit isn't fired when the…

phimath
- 1,322
- 2
- 12
- 22
7
votes
2 answers
White flash when image is repainted [flutter]
I'm trying to build a grid of images with a given width and height, wrapping them inside Containers and using fit: BoxFit.fill to be able to set a border if the image is selected (i don't care to keep the image aspect ratio, i want to have the same…

Ansharja
- 1,237
- 1
- 14
- 37
7
votes
2 answers
How to minimize my desktop Flutter app to system tray?
I am building a Flutter desktop application and I would like to leave the app running on the system tray instead of just closing it.

MarvelousWololo
- 196
- 2
- 7
6
votes
1 answer
flutter desktop application "error MSB3073: The command "setlocal "
I was building a flutter desktop app using vs code and all sudden was presented with this error completely unfamiliar with.
anyone with a solution on how to handle this, I appreciate
following is my flutter doctor log:

nios
- 151
- 1
- 1
- 8