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
2 answers
Flutter Project Failed To Compile With Compiler message: Error: The non-ASCII space character U+00A0 can only be used in strings and comments
Every time I attempt to save and launch the app I encounter this compiler message. I don't know what it refers to and it doesn't show up in my debug console in the problems tab/menu.

Alrazi Bashir
- 532
- 1
- 5
- 12
0
votes
1 answer
RawKeyEvent wrong characters in Windows10 [Flutter desktop]
I'm testing RawKeyboardListener in a Flutter Desktop project (Windows 10).
Events work fine, but i receive wrong keys label, as you can see below:
Is it a "keyboard layout" issue, like if the app was expecting events from an android keyboard with…

Ansharja
- 1,237
- 1
- 14
- 37
0
votes
1 answer
How can other people open a built app made with flutter desktop?
I want to know if is possible to send a built app to my coworkers without them having to execute commands like flutter run -d macOS or even installing Flutter.
I tried sending them the build folder and executing the app inside…

Jalil
- 1,167
- 11
- 34
0
votes
2 answers
image_size_getter install error (Because every version of flutter_test from sdk depends on collection [...]) [flutter]
I'm trying to install image-size-getter on my flutter desktop project.
When i add this to my package's pubspec.yaml:
dependencies:
[...]
image_size_getter: ^0.1.0
i get this error:
Because every version of flutter_test from sdk depends on…

Ansharja
- 1,237
- 1
- 14
- 37
0
votes
1 answer
How to add windows (desktop) to android studio devices
Iam creating a flutter desktop app ,how to add windows (desktop) device to android studio virtual devices as in the image below

ADev
- 669
- 3
- 11
- 17
0
votes
1 answer
Could I use JNI interfaces in my C++ code when using the dart:ffi in flutter?
Now I load my C++ code by:
final DynamicLibrary nativeAddLib =
Platform.isAndroid
? DynamicLibrary.open("libnative_add.so")
: DynamicLibrary.process();
but the JNI_OnLoad in my .cpp file is not executed:
JNIEXPORT jint JNICALL…

LvSheng
- 33
- 6
0
votes
1 answer
Decode image and add to list of widgets [flutter]
I want to load and display multiple images from a folder in Windows, grouping them based on their sizes (for example, large, medium, icons, and so on ...).
In order to know their size before displaying them, I'm looping a list using decodeImage…

Ansharja
- 1,237
- 1
- 14
- 37
0
votes
1 answer
Black screen appears on maximizing and minimizing flutter desktop app
is it a rendering issue?
it is happening even after building the app.
Thanks in advance.

Scaphae Studio
- 503
- 3
- 3
0
votes
1 answer
Slow content appearing in Windows
I'm testing Flutter for Windows and i noticed that, even with a basic 'HelloWorld' app, the content appears slowly, i have a 1 second blank screen inside the app (see gif below):
The app is packaged with default command (flutter build windows).
How…

Ansharja
- 1,237
- 1
- 14
- 37
0
votes
1 answer
flutter desktop, how to monitor files
I know that it is possible to create a cross-platform app (mac, pc, Linux) with flutter, so I ask if it is possible to monitor if a file is changed in a directory, I'd like to find a solution without go-flutter but with flutter desktop.
To create…

LXG
- 1,957
- 3
- 22
- 45
0
votes
0 answers
flutter desktop build fails with `com.apple.xcode.tools.swift.compiler`
I try to build and run flutter for desktop and I get the bellow error when I use ~/dev/flutter/bin/flutter run -v
Objects-normal/x86_64/GeneratedPluginRegistrant~partial.swiftmodule…

Jas
- 14,493
- 27
- 97
- 148
0
votes
0 answers
Flutter desktop build fails
I am facing the problem that I cannot build the application written in Flutter on macOS. I have used the flutter doctor to make the whole configuration complete and the result looks like this:
Next step that I have made was to change the flutter…

Patryk Jabłoński
- 697
- 10
- 29
0
votes
1 answer
How to launch Hello World Flutter on Desktop from Android Studio?
I am trying out flutter value proposition of multi platforming.
I am on Android Studio.
Hello world works on Android.
Hello world is not launched on Iphone Emulator even though it is shown in the drop down.
I don't see anything to launch the app in…

Charles Bentley
- 90
- 7
0
votes
0 answers
Flutter Desktop Application- NoSuchMethodError: Class "Window" has no istance getter 'locales'
I'm pretty new on Flutter and I trying to build a desktop app.
I did all steps of following guide: https://medium.com/flutter-community/flutter-from-mobile-to-desktop-93635e8de64e (Running your own project (compiling the Go desktop…

Daniele Mancini
- 11
- 1
-1
votes
1 answer
I am searching for a Flutter package which can find the barcode of a .pdf file
I am trying to build an application on Windows, which i pick (.pdf) files that contain a barcode on them.
I want to find and extract the barcode info and put it on a list.
I need a package that it can make it happen. A package except…

Fotis Psarris
- 80
- 9