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
2
votes
1 answer
Hover support for Flutter Desktop?
I am trying to detect when cursor on windows application from Flutter is over certain widget but I cannot find any reference or widgets for this. How can I approach this?

Ashim Bhadra
- 268
- 4
- 14
2
votes
1 answer
Decoding ANSI escape sequences in Dart
I'm writing some code for Flutter Desktop targeting linux_x64.
I'm extracting some logs from some applications, these logs presents a syntax like this:
Inspecting log file using less logfile
ESC(BESC[mauthentication-msESC(BESC[m
Inspecting log…

Roberto Manfreda
- 2,345
- 3
- 25
- 39
2
votes
2 answers
how to change title bar icon in flutter desktop
this is how I change the title but can't change the icon.
void main() {
WidgetsFlutterBinding.ensureInitialized();
if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) {
setWindowTitle('Title');
// setWindowMinSize(const…

SULPHURIC ACID
- 278
- 5
- 19
2
votes
1 answer
Flutter exception while building
I tried to run/debug my application on the desktop (after installing visual studio 2019 with all defaults) but I can't :) and this error occurred:
D:\Visual Studio IDE\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(240,5): error MSB8066:…

Soheil_PFP
- 121
- 1
- 3
- 7
2
votes
1 answer
Listen to key press outside of flutter (desktop) app
I have managed to print the key the user presses when the user is using the app. But How to print the key (listen to key press) in flutter desktop when the user is not using the app or in background?

Manish Wagle
- 456
- 2
- 5
- 12
2
votes
1 answer
Flutter printing invoice to usb printer in desktop app
I'm working on flutter desktop app and i need to print invoice to USB printer.
https://pub.flutter-io.cn/packages/printing
Currently i m using this plugin but not working, it only shows pdf view with loading indicator only. not loading the invoice…

Dev94
- 757
- 6
- 24
2
votes
1 answer
Flutter Desktop: How to disable "disabled" mouse-cursor on button-hover?
By default, on Desktop, btns in flutter change the Mouse Cursor when they are disabled:
We'd like to disable this behavior, or replace with a different cursor.

shawnblais
- 1,038
- 11
- 23
2
votes
0 answers
Flutter Desktop (Linux): Error connecting to the service protocol: failed to connect to http://127.0.0.1:46853/1w9LvJSt37I=/
I'm trying to run Flutter Desktop for Linux on vscode but it gives me this message:
Error connecting to the service protocol: failed to connect to http://127.0.0.1:46853/1w9LvJSt37I=/
Exited (sigterm)
I have manually installed my Flutter SDK. and…

Eleandro Duzentos
- 1,370
- 18
- 36
2
votes
3 answers
Flutter desktop: How to catch closure button?
I'm working on a desktop application with flutter (Windows), I need to set up an AlertDialog if the user tries to close the window with the close button.
If someone has an idea or even a solution, I'll take it :D
I have attached a reference image…

Fagnola Romain
- 21
- 1
- 3
2
votes
2 answers
Row match parent width
I'm trying to make the Row containing "Short label" wide as the Row below it.
Putting mainAxisSize: MainAxisSize.max isn't enought, since it should match parent width, based on this answer:
The equivalent of wrap_content and match_parent in…

Ansharja
- 1,237
- 1
- 14
- 37
2
votes
1 answer
YouTube Player in Flutter Desktop (Windows)
I wanted to use YouTube Player in my app for both Android and Desktop. I created it using Flutter and now it is working properly. If I build it in windows, then it is running, but the player is not showing any videos.
I know flutter currently is not…
user13847587
2
votes
0 answers
How to make a Windows Notification in flutter?
In Windows 10 how can I make a notification or a pop-up with high priority to appear in front of all opened windows?

Tareq Amenah
- 21
- 1
2
votes
2 answers
How to use image_picker plugin in flutter desktop without go-flutter
Am trying to user image_picker plugin in my flutter desktop project, but i think there is no implementation for this plugin that work with windows desktop app.
Did someone have a solution for that ?
Ps : i want use go-flutter and hover.

Nadim Gouia
- 141
- 1
- 2
- 7
2
votes
1 answer
Flutter Desktop Windows says "No supported devices found"
Thought I'd experiment with Flutter Desktop Windows. I used the following commands inside the VSCode terminal:
flutter channel master
flutter upgrade
flutter config --enable-windows-desktop
flutter devices
Which gives:
Windows • Windows •…

buttonsrtoys
- 2,359
- 3
- 32
- 52
2
votes
0 answers
Does Flutter + Cloud Firestore working in Desktop App?
Since I’m using the Cloud Firestore Database service, I am using cloud_firestore, the plugin for the Cloud Firestore API.
Does it work for Desktop app?

dilip
- 163
- 8