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
0
votes
1 answer
Prevent MacOS from showing the accent selection popup in Flutter
I'm developing a Flutter desktop app and I have to process raw keyboard input (custom drawn control that handles user input).
For this I'm using a TextInputClient and a TextInputConfiguration that gets registered via TextInput.attach(client,…

Michael Lamers
- 11
- 2
0
votes
1 answer
How to capture the Mac OS hotkey events, such as cmd+tab, etc,
I working on a prototype Flutter app, I have a use case where I should be able to capture all the OS Hotkey events and prevent the default behaviour.
I should be able to prevent the app from closing on CMD+Q.
any help would be appreciated, thanks in…

ADITHYAN
- 119
- 9
0
votes
1 answer
Flutter RawKeyboardListener triggering system sounds on MacOS
I have a MacOS desktop application built with flutter.
In it I have a RawKeyboardListener widget. it is functioning as expected. It is capturing keyboard input which I could process as normal.
However whenever I press a key the OS level key input…

xerotolerant
- 1,955
- 4
- 21
- 39
0
votes
0 answers
Flutter: FocusScope not working in Release mode
Im creating a flutter desktop app and keyboard events are not being detected by the FocusScope in Release mode. Everything works fine in debug mode. Any idea how I can get this working right?
Maybe I can give my client the debug folder since it…

West
- 2,350
- 5
- 31
- 67
0
votes
2 answers
How to save File Selected from filepicker_windows in Disk (Flutter Desktop)
Please I need assistance.
I have written below code to saved file selected from filepicker_windows to C: drive.
filepicker_windows worked well and it get my C: drive successfully But not saving the file.
It gives me ERROR "Exception has…

noble
- 11
- 1
0
votes
0 answers
How to get response from CURL request in Dart/Flutter
I'm running a flutter desktop app on linux and i need get the response from the following curl request
curl -sS --unix-socket /run/snapd.socket http://localhost/v2/snaps/ -X GET
I've got the process_run package installed so making the call is fairly…

markusrambarkus
- 412
- 1
- 5
- 12
0
votes
1 answer
Exception: Unable to generate build files for window build
while trying to run flutter desktop application I am getting this issue,I installed visual studio 2019 (v 16.10.1 latest) and all the set up has been done as mentioned in documentation. Here is the snippet from flutter doctor.
Flutter Doctor…

KonTash
- 158
- 1
- 2
- 15
0
votes
1 answer
Flutter ListView.separated frame drop when loading huge list
I'm trying to display a lazy list in flutter for windows. The list has approximately 2300 elements in it. The list is within a FutureBuilder, whose future is to fetch the 2300 elements from Hive database. Each element in the list is a MaterialButton…

christo pananjickal
- 11
- 3
0
votes
2 answers
Is it possible to add the macOS/Windows/Linux Module to an existing flutter application
i want to ask if it is possible to add the macOS/Windows/Linux module to an existing flutter project.
I have developed an app where I unfortunately realized very late that this can also be used on Windows/macOS/Linux.
I thank all of you in advance…

Felix K
- 58
- 6
0
votes
1 answer
Get path of a file using "Send to" shortcut to a Win32 app (Flutter Desktop)
It's easy to add the app in the "Send To" folder. But once you select a file --> send to --> your app, the app just opens.
In the above picture, once I click on "Your App", the app opens, but how do I get the absolute path of the file that is…

vinayak sankeet
- 1
- 1
0
votes
1 answer
Flutter desktop 'hover' can not be recognised
I am trying to run my flutter app on desktop with hover.
I ran this command to install hover
go get -u github.com/go-flutter-desktop/hover
I have GO installed and the command above finishes the installation without any error, however when I try to…

Norbert
- 6,874
- 14
- 40
- 65
0
votes
2 answers
Flutter window_utils not compiling code and giving CMakeLists.txt file error
I am using window_utils flutter plugin in my flutter desktop application. When I run my app I got this error Image1.
This is my pubspec.yaml code Image2.
https://pub.dev/documentation/window_utils/latest/
I tried all versions of this plugin but not…

Dev94
- 757
- 6
- 24
0
votes
0 answers
Getting "/bin/sh .... command not found" while trying to call a shell script from Flutter MacOS desktop application
Probably more of a MacOS/zsh question than a Flutter question.
The error message is:
/bin/sh: exiftool: command not found
I am trying to call exiftool from my Flutter MacOS desktop app.
ProcessResult processResult = Process.runSync('exiftool',…

D. Joe
- 573
- 1
- 9
- 17
0
votes
1 answer
Flutter image_picker is not working on macos.Can anyone suggest me which plugin are supported
I am currently in a crisis of cross platform i have an existing app for android and ios now. I wanted that in web and macOS now i am using image_picker in package now the problem is that image picker is not working for the macOS i have tried other…

Chetan Raval
- 41
- 1
- 5
0
votes
1 answer
Detect window closing action flutter desktop
I am working on flutter desktop application and want to show alert dialog before closing window. Could not get any information about detecting window closing action.
Can anyone tell me how to do this. Thankx.

Dev94
- 757
- 6
- 24