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
Null error while parsing JSON file in Flutter
Im trying to create an app that reads a JSON file and displays its content.
The JSON File is as follows:
"Jett": {
"name":
"Jett",
"info":
"From Korea comes Jett, an agile fighter who prioritizes movement…

RikSantra
- 81
- 1
- 10
0
votes
1 answer
Writing Plugins for Linux in Flutter documentation/tutorial (Trying to write Desktop Camera Plugin)
I am trying to create Flutter desktop application that can access webcam on desktop (Windows/Linux). It seems like there is no Flutter plugin that support camera for desktop.
Is there any documentation or tutorial about how to write Plugins for…

Ebram
- 1,042
- 1
- 13
- 26
0
votes
1 answer
How to add linker additional dependencies into flutter desktop plugin for windows
I want to use CredUIPromptForWindowsCredentialsW function from windows api. But it require me add "Credui.lib" to linker additional dependencies.
With Visual studio we can go to Properties > Linker > All Options > Additional Dependencies then add…

Davis Clask
- 23
- 2
0
votes
3 answers
Error while compiling for Flutter Desktop
unable to compile my application for windows desktop.
`Microsoft Windows [version 10.0.17134.1246]
(c) 2018 Microsoft Corporation. Tous droits réservés.
C:\Users\CREATIVE'S DEV\AndroidStudioProjects\flutter_app>flutter run -d windows
Launching…

Bruno
- 39
- 2
- 4
0
votes
1 answer
Compile flutter desktop application using bitbake for yocto distro
I want to compile my flutter desktop app for a yocto distro, so I somehow need access to flutter build.
How am I able to use flutter in do_compile(){}? It's installed in my docker container I use to build my yocto images.
recipe.bb
SUMMARY =…

Justus Flügel
- 57
- 6
0
votes
0 answers
How to implement an interactive complex shape?
I have a need to manipulate curves(e.g:hover color change), but with MouseRegion and CustomPaint I can only interact with a piece of rectangle, It's not precise enough to manipulate a curve.
Just like that, I want the mouse to move over the curve…

Whisker Lau
- 21
- 3
0
votes
1 answer
Flutter - is it necessary to start each App with one of the predefined root widget?
it might be stupid question but I am completely new in flutter, I am playing with desktop app for macOS using Flutter.
I don’t want to follow any design rules and I’m just playing with basic layout.
My question: Is it necessary to start each App…

TomRavn
- 1,134
- 14
- 30
0
votes
2 answers
Flutter, Linux doesn't show up as device
I followed the steps here at flutter.dev. It didn't work. Linux is not showing when I run flutter devices. I'm running Linux Mint 19.3.
This is the output from flutter doctor
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter…

Arnab Chakraborty
- 159
- 7
0
votes
1 answer
Correctly layout columns and expanded widgets without finite width
I need help to understand why Rows, Columns and Expanded need a finite width constraint in this kind of layout.
The layout to me seems very simple: two columns should divide equally the total device width, in every column there must be a fixed width…

Ansharja
- 1,237
- 1
- 14
- 37
0
votes
1 answer
Gdk-CRITICAL exceptions on a Flutter Desktop app, linux
I am trying to launch my Flutter app on Linux, as a desktop app.
It already worked before, but now I have this error at launch :
WARNING **: 08:21:24.318: Failed to start Flutter engine: Failed to create EGL surface using configuration…

Mathieu
- 1,435
- 3
- 16
- 35
0
votes
1 answer
Widget in Flutter app does not send string data as expected
I need to make an app which searches a name in an api. The problem is that the form widget doesn't send the name I write on the input.
The part that matters are: dadosPessoa(), Form() and the both TextFormField()
import 'dart:convert';
…

Theo2017BR
- 11
- 2
0
votes
2 answers
Print file on a local printer using pure Dart with pop up printer window?
i want to print file which contain in $file variable on a local printer. I want a pop up window just like Java Script window.print(). My question is that how i can do the same job using Dart language only? Actually i am using flutter for windows app…

Jamshid Ali
- 101
- 1
- 11
0
votes
0 answers
Execution failed for task ':app:compileFlutterBuildDebug'. how can I rectify this?
Compiler message:
lib/main.dart:10:12: Error: The method 'MainPage' isn't defined for the class 'MyApp'.
- 'MyApp' is from 'package:demo1/main.dart' ('lib/main.dart').
Try correcting the name to the name of an existing method, or defining a method…
0
votes
1 answer
Flutter unable to debug macos app with debugger (Flutter Attach)
I am trying to debug macos app in IntelliJ IDEA IDE and after i click "Flutter Attach" option I see only:
Waiting for a connection from Flutter on macOS...
which never changes.
Is it possible to debug macos application in IntelliJ?

K.Os
- 5,123
- 8
- 40
- 95
0
votes
1 answer
Flutter not always running on Windows
I’m trying to run a flutter app on Windows for a new project, but I can’t find the option for it in the device selection menu in VS Code, nor is the Windows folder in the project. This happens occasionally with new projects and I don’t know what it…

VicHofs
- 181
- 1
- 2
- 12