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
1
vote
1 answer
Flutter Desktop Ignore Mouse Events
I'm looking to implement a Flutter Desktop application that allows a transparent window which forwards all touch events, like Zoom screen share.
My understanding is the behaviour can be achieved in electron…

MousyBusiness
- 188
- 2
- 14
1
vote
0 answers
How do I troubleshoot Flutter desktop not running on Windows?
I have a fresh VM running Windows 10 Pro in Virtualbox, updated with Flutter installed.
Windows Flutter apps will not launch, and I can't seem to find any information through the error message.
flutter devices
1 connected device:
Windows (desktop)…

Merritt
- 445
- 1
- 6
- 14
1
vote
1 answer
Wrap text in a TextField flutter without creating a newline
Using the maxLines = null property, I can make the text wrap in a TextField. However, this also uses the Enter to create newlines.
I don't want that - I want to reserve the Enter key to onSubmitted() function. How do I do that?

Timotej Leginus
- 304
- 3
- 18
1
vote
1 answer
Change taskbar name of flutter app on windows
I have a very simple problem, but did not find any solution.
I wrote a flutter app for windows desktop. When I launch it, the name in the taskbar is shown as "A new Flutter project." How can I change this string? Of course I already searched all…

Markus
- 123
- 3
- 9
1
vote
0 answers
Flutter PageView memory leak
I'm working on a windows application with flutter desktop, for now, everything seems to work smoothly and with no problems.
But I suspect that I caused a memory leak when using PageView !!
Basically, I have PageViews with 6 pages. One of those pages…

Abdelbaki Boukerche
- 1,602
- 1
- 8
- 20
1
vote
1 answer
Is there a way to unload fonts loaded via loadFontFromList in flutter desktop application?
I'm making an application for Flutter Desktop and need to load and use the font files in the local directory.
The fonts were loaded through the loadFontFromList function.
But I couldn't find a way to unload the loaded font.
Is there any way to…

ellie nam
- 11
- 1
1
vote
2 answers
Unable to create desktop application support from existing project in flutter
I am creating a desktop application from an existing app.
The command given in documentation is :
flutter create .
Running this command in the root of the project directory I am getting this error
"MyApp" is not a valid Dart package name.
Note:…

S Sharanya Bharghavi
- 109
- 1
- 11
1
vote
3 answers
How to pass a string argument in Flutter?
I'm trying to create a widget that is a container and takes two arguments, the path to the image and the title of the Image. The widget code so far is:
class CharacterBox extends StatelessWidget {
final String imagePath;
final String…

RikSantra
- 81
- 1
- 10
1
vote
1 answer
What happens to performance when calling C code from dart Flutter desktop
Can I use dart:ffi to call C APIs on flutter desktop.
What happens to the performance after that ?
Can we use C to speed up flutter?
Thanks

nvrthles
- 99
- 1
- 1
- 6
1
vote
1 answer
Best way to create a scrollable list that dynamically grows
I have a flutter web app (which may become a desktop app in the future) that contains a dialog box. The dialog allows the user to edit the properties of a model object that contains a list of elements. The user should be able to edit the list by…

beer geek
- 371
- 2
- 12
1
vote
1 answer
How to access methods in a Flutter for desktop (macOS) app
I have been trying to write a Flutter desktop app which can communicate with Go methods.
Go file:
package main
import "C"
import "fmt"
func PrintHello() {
fmt.Print("Hello,World")
}
func main() {}
import 'dart:ffi' as ffi;
typedef…

Ganesh Rathinavel
- 1,243
- 4
- 17
- 38
1
vote
2 answers
Error when trying to use Flutter to send data to an API server
I get the following error when using Flutter to send a POST request to an API Server.
The method 'add' isn't defined for the type 'FormData'.
(undefined_method at [next_hour] lib\ui\edit_profile.dart:122)
FormData formdata = new…

Theo2017BR
- 11
- 2
1
vote
1 answer
No implementation found for method getWindowMaximumSize (window_size flutter desktop)
In my Flutter desktop project i'm trying to use window_size plugin (on windows 10) to try to set a maximum size for the window.
I added the plugin in pubspec.yaml like below:
dependencies:
...
window_size:
git:
url:…

Ansharja
- 1,237
- 1
- 14
- 37
1
vote
1 answer
Flutter desktop paste text in textfield Ctrl + V (Windows)
When i try to paste text inside a Textfield in my Windows Flutter Desktop project an unsupported symbol is shown:
I found this issue on github about MacOS but i wasn't able to find a similar issue about Windows.
Is there any workaround i can use?

Ansharja
- 1,237
- 1
- 14
- 37
1
vote
1 answer
Wrong padding when wrapping container inside stack [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 an outer and inner padding for containers (i don't care to keep the image aspect ratio, i wan't to have…

Ansharja
- 1,237
- 1
- 14
- 37