Questions tagged [flutter-desktop]

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.

352 questions
1
vote
1 answer

TextField input doubled

In a Flutter desktop for Windows project I have a TextField widget in a statefulWidget with a controller attached to it. late TextEditingController searchController; @override void initState() { super.initState(); searchController =…
MindStudio
  • 706
  • 1
  • 4
  • 13
1
vote
1 answer

Is there a way to import and run a Flutter app as a dependency of another package?

So, I'm thinking of creating a CLI application that could also be used with UI, developed in Flutter. The idea is that there would be 3 different packages, one for the business logic, one for the CLI and one for the Flutter app. Is there a way to…
GusHill
  • 65
  • 2
  • 6
1
vote
1 answer

Flutter: Tab key not working properly in flutter desktop when screen not maximised

Im developing for flutter desktop and am having issues as pressing the tab key doesnt cycle through the text fields when the app screen is not maximised. I have 8 Textfields arranged in a Gridview and when the app screen is maximised the tab key…
West
  • 2,350
  • 5
  • 31
  • 67
1
vote
1 answer

Flutter: How to change focus to another widget when a certain key is pressed on physical keyboard

I'm developing a desktop app on Windows and am trying to move focus to a Textfield when the ENTER key is pressed on another textfield. I'm able to detect the key has been pressed using RawKeyboardListener but focus isnt changed to the new field. How…
West
  • 2,350
  • 5
  • 31
  • 67
1
vote
1 answer

Windows application build using flutter not working on every windows machine

I am trying to build windows app using flutter. After successful build i have added msvcp140.dll, vcruntime140.dll, vcruntime140_1.dll as instructed. but still in some windows 10 and on all windows 7 machine it is crashing. Any suggestion what to…
1
vote
1 answer

Flutter GetSystemMetricsForDpi not located

We build a windows desktop application using flutter desktop and want to distribute it. But after distributing exe file, we got error The procedure entry point GetSystemMetricsForDpi could not be located in the dynamic link library USER32.dll This…
1
vote
1 answer

Shell script won't execute with Process.Start() on MacOS - Flutter

I've been experimenting with using my flutter app to start and stop shell scripts on Windows and MacOS. On Windows I am able to run a batch file using Process.start() and later terminate it successfully, however on Mac my shell script never even…
Letal1s
  • 47
  • 2
  • 9
1
vote
1 answer

Image not updating on changing path read from a JSON file

I was trying to create an app using the flutter desktop implementation that would read the path to an image from a JSON file and display the image, and then when an Inkwell is hovered, it would change the path to another image. The following was the…
RikSantra
  • 81
  • 1
  • 10
1
vote
0 answers

How to add splash screen without window in flutter desktop application

I am working on flutter desktop application. I want to add splash screen in my application like the one appear when we start android studio, like this Image. Can anyone guide me how to achieve this. Thanks in advance.
Dev94
  • 757
  • 6
  • 24
1
vote
0 answers

flutter windows printing plugin gives CMake compile time error

I'm working on flutter desktop application and using printing flutter plugin to print document. The code was running perfectly fine. After i did flutter clean and try to again run that code it give this error. Image1. The line of code where it is…
Dev94
  • 757
  • 6
  • 24
1
vote
1 answer

Flutter-Desktop sqflite ffi throwing error on release mode

I am using sqflite ffi for my database on desktop windows. I setup everything like in the sample. The application is working on debug built but if I run the application on release mode I'm getting the error in sqfliteFfiInit(). How can I fix…
quoci
  • 2,940
  • 1
  • 9
  • 21
1
vote
0 answers

How to add new widget to pdf/widgets flutter

I am working on flutter desktop application. I want to print invoice to the printer and for that purpose I am using this plugin https://pub.dev/packages/printing for printing. Now in designing layout for invoice i want to use plugin widget in pdf…
Dev94
  • 757
  • 6
  • 24
1
vote
0 answers

changing DataTable's DataRow style in flutter desktop

I want each DataRow of DataTable to have a Card look this this: our DataRow custom design I looked at the source code but I could not find anything
1
vote
0 answers

Unable to create database file on another desktop with build .exe file Flutter

I am working on flutter desktop application and I want to create database file for local data storage. I am using the following plugin to get path of directory for creating database file. https://pub.dev/packages/path_provider_windows [Image] [1]:…
Dev94
  • 757
  • 6
  • 24
1
vote
0 answers

Flutter Desktop background jobs

if there a way to fetch data from http services in background like a Job in Flutter Desktop(Windows). something like android has workmanager plugin , is there any thing like that for flutter desktop or any logic to achieve it .
Varma460
  • 497
  • 1
  • 4
  • 13