191 questions
0
votes
3
answers
191
views
Flutter provider not updating UI for Future builder
I am using provider: ^6.0.5 for state management for my flutter desktop app.
This is my Loader provider:
A simple class have 2 methods that will toggle the loaderState boolean value.
class ...
2
votes
1
answer
2k
views
Facing Build Errors with firebase_core 2.15.10 in Flutter Windows app
I'm working on a Windows application in Flutter, and have been usingthe firebase_core 2.15.10 library. Everything was running find until recently untill I started getting this error. The error seems ...
1
vote
1
answer
885
views
Flutter platform-channel on windows
I need to access Windows Desktop API to change network settings. I have read flutter document and experiences with flutter platform channel. When I ran the code, I just got true in output, but I ...
1
vote
2
answers
805
views
Flutter windows app from windows runner does not save the new file to a path in windows
I am trying to save a file to a path in windows using path_provider: 2.0.14. and everything works fine in debug, even when I use the app that is running by the command
"flutter run --release -d ...
1
vote
2
answers
999
views
Error "Target file "windows" not found." when I start windows application in debug mode
"Target file "windows" not found." error after "flutter run windows".
All project dependencies:
cupertino_icons: ^1.0.2
firebase_core: ^2.13.1
sliding_up_panel: ^2.0.0+1
...
3
votes
3
answers
840
views
Flutter app cannot be uploaded to Microsoft Store
I've asked this before but I'm still lost. I'm trying to upload my Flutter app to Microsoft Store but I keep getting '10.1.1.11 Inaccurate Representation - Icon' detail on certification report.
This ...
0
votes
1
answer
517
views
Azure pipeline fails with Flutter Build windows
I have a azure-pipeline.yml file as below.
variables:
buildNumber: $[replace(variables['Build.BuildNumber'], '.', '')] # runtime expression
stages:
- stage: Flutter_Build_Windows_Test
dependsOn: []
...
0
votes
1
answer
522
views
upload an Excel file(xls) and save the data in the database sqlite
How to uplaod an Excel file(xls) from desktop and save the data in the database sqlite using flutter windows
this is my table
CREATE TABLE "products" (
"product_id" INTEGER ...
0
votes
2
answers
791
views
How can I fix empty values returned when using flutter_libserialport package to read serial input on Windows?
I'm developing a flutter destop app which has to read serial input from an esp32 board. I'm using the flutter_libserialport package. Reads are empty. When I use a port reader to stream, I get only [0]...
1
vote
1
answer
931
views
Creating an app with flutter and sqflite does not open on another device
After desktop build application with flutter and sqflite the app run on my device but if i share it on other device the app not open
the app on my pcthe app on my pc
Only use flutter and ...
5
votes
0
answers
1k
views
How to enable windows developer mode inside windows docker container for building Flutter windows apps?
I am trying to build a flutter windows application inside a windows docker container (mcr.microsoft.com/windows/servercore:ltsc2019), which is running on a windows host. The problem is that when I am ...
1
vote
1
answer
2k
views
Single exe for Flutter Windows
I'm currently building a windows application using flutter technology and after the presentation of the app my client is requesting for a single exe file for deployment. While doing some research I've ...
1
vote
1
answer
3k
views
My flutter app can't run on Windows 7 SP1 64bit
I'm flutter developer, and some of my clients still using Windows 7.
According to the docs, flutter deployed apps supports Windows 7, But when I try to run my app on Windows 7, I faced this issue:
I ...
1
vote
2
answers
252
views
Open a program using Flutter Windows
When the user clicks on the button in my Flutter program, I want to open "E:\Downloads\1.fbx" file on the Windows 3D viewer (Default software - windows).
But the file location is not ...
1
vote
1
answer
120
views
restart app working fine on android but not on windows flutter app
I am unable to find that how to restart windows app of flutter. I have used flutter package "rebirth" from pub.dev but it gives black screen and did not restart.
3
votes
0
answers
192
views
Connect multiple firebase projects to the same flutter desktop app
I am building a windows desktop app using flutter. I hava 2 firebase projects I want to connect with. First one I am using for authentication (log in using email and password) and for that I am using ...
5
votes
4
answers
9k
views
Flutter Windows App does not start in release mode
I just created a flutter project on Windows with
flutter create appname --platforms=windows,macos
Now I can start this Windows app with
flutter run -d windows
and everything works perfectly.
But the ...
1
vote
0
answers
117
views
Flutter desktop Application crash after continuously running it for more than 24 hrs
It is a simple flutter desktop app which has image and video player.
it just simply display both one by one, by navigating it on that page.
both images and videos are stored locally into the ...
1
vote
0
answers
1k
views
Flutter - build release .exe with embedded dll
I'm tring to build a simple application in dart/flutter for windows. After flutter build windows --release it creates a .exe with all .dll files that application uses. Obviously when I copy and past ...
0
votes
3
answers
1k
views
How can I properly setup Flutter on Windows?
I'm having issues in my new flutter installation tried few things but nothing worked.
This is the view of my flutter doctor output:
[!] Android toolchain - develop for Android devices (Android SDK
...
3
votes
0
answers
172
views
How to access console logs of flutter app packaged as msix?
Background
I used msix flutter to package my app. It installs without any problems but immediately fails after starting it on Windows 11 (on Windows 10 everything works fine) without any error message....
3
votes
3
answers
2k
views
Disable default right click on web in flutter
I'm trying to use my own showMenu when user right click with the mouse on web, windows, macOS and long press on android and iOS.
Long press on android and iOS is working and right click on Windows and ...
2
votes
1
answer
833
views
How to uninstall flutter MacOS, Windows and Linux debug build from my laptop like in Android and iOS from smartphone?
I have done some searching regarding this but did not find any solution yet thats why i am asking.
Normally when ever we uninstall application from Mobile phone, all data clears and event if we don't ...
1
vote
0
answers
365
views
Build flutter release version for Windows 8
I am using a Windows 10 PC and need to create a release version of my flutter application for Windows 8. However, flutter build windows builds an executable for the Windows version of the PC, you are ...
1
vote
2
answers
1k
views
Flutter Windows Error ( Exception: Build process failed. )
I was working on a project for school management app and it worked perfect on android and windows but after I added firebase for the project it did not build windows again
here is the error that on vs ...
0
votes
1
answer
726
views
Flutter Search Bar with ListView with Checkboxes
I want to create a widget like this.
This contains the Textfield, Once type something in the field, It will be sorting the list and show the results below the field. The result list shown below can ...
0
votes
1
answer
183
views
Can't import header file from zoom sdk in flutter windows
I want to integrate the zoom meeting windows sdk into my Flutter plugin. But I can't import header file from zoom sdk.
For the test I wanted to use only zoom_sdk.h and try to initialize zoom.
But when ...
0
votes
1
answer
191
views
The named parameter 'onSubmitted' isn't defined
The named parameter 'onSubmitted' isn't defined.
Try correcting the name to an existing named parameter's name, or defining a named parameter with the name 'onSubmitted
My Code :
TextFormField(
...
3
votes
3
answers
1k
views
Scaffold.geometryOf() must only be accessed during the paint phase
Exception is thrown when debugging on windows, stacktrace:
ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Scaffold.geometryOf() must only be accessed during the paint phase.
...
1
vote
1
answer
1k
views
Run Flutter Desktop(Windows) debug with administrator rights
I have an app Flutter (Windows 11) that makes changes to the registry (regedit) and for that it needs administrator permissions. How do I grant these permissions to debug mode window?
1
vote
1
answer
2k
views
Creating a Flutter Windows Desktop Build from GitLab Shared Runners
I am working on a CI pipeline for my flutter desktop app, currently it's Windows only but this will soon change to be Windows/Linux. I was planning to use the GitLab shared runners with the cirrusci/...
1
vote
0
answers
180
views
Black line showing on AdaptiveNavigationScaffold Flutter Windows
I am using the following AdaptiveNavigationScaffold implementation for a scaffold for a Windows flutter application...
Widget build(BuildContext context) => AdaptiveNavigationScaffold(
...
2
votes
1
answer
1k
views
how to bundle flutter desktop assets into a single file for production build
after building the flutter project for desktop, flutter copies all asset files inside the assets directory into the build/flutter_assets/assets which are easily accessible and modifiable (which is not ...
0
votes
1
answer
100
views
Is there an automatic function for changing the index of page in PaginatedDataTable?
I've created PaginatedDataTable in flutter as below
Everything works fine but I want to show this in Television and need to change Page by automatic, is there any way to do this?
1
vote
1
answer
461
views
How do I run an external NFC reader in Flutter Windows
How do I run an external NFC reader in Flutter Windows
I tried to find a NFC package that supports Windows, but I couldn't find any solutions
.
I bought an NFC reader and I want to use it in Flutter ...
10
votes
5
answers
52k
views
Flutter doctor - Windows Version (Unable to confirm if installed Windows version is 10 or greater)
I just updated my Flutter form 3.5.0-12.0.pre.168 to 3.6.0-1.0.pre.35 on the master channel.
Im on the master channel because on the stable channel I have troubles with keyboard inputs. But that ...
0
votes
0
answers
319
views
dart compilation for windows not work for every version? is there are any work arounds?
so recently I have created a program in dart and compiled that program to exe file on my windows10 machine. Using dart compile exe main.dart and then main.exe is generated, but the problem is when I ...
0
votes
1
answer
416
views
How to hide assets folder in windows release?
when I build windows app, how to hide data folder? i do not want another poeple access this folder.
2
votes
0
answers
313
views
Flutter windows application with printing causes low memory issue
We developed a Flutter windows desktop application for POS machines. One of the main feature is printing bills. We used https://pub.dev/packages/esc_pos_printer library which prints but, after ...
0
votes
0
answers
360
views
How to read sdcard/pendrive from windows desktop application using flutter?
Windows desktop application : Have to read sdcard/pendrive/usb drive using flutter code for windows application
4
votes
2
answers
5k
views
Flutter for Windows - A KeyRepeatEvent is dispatched, but the state shows that the physical key is not pressed - Shift Left
I'm building a Flutter Application for Windows.
I have a TextField and if I run the Application and want to insert an uppercase Character by holding Shift Left or Shift Right and than a letter, I get ...
2
votes
2
answers
2k
views
Flutter platform channels pass "multi-data" to windows function
I am testing the Platform-Channels with the windows visual studio 2022.
I can pass the single value from the flutter UI while I get the battery value, but I want to send multi-data from flutter to the ...
0
votes
1
answer
474
views
Develop Windows programs with Flutter, How to disable IME?
I am using Flutter to develop a Windows program, Need to disable input method, Find the relevant documentation, you can use the ImmDisableIME(0) method to disable the input method. But when I try to ...
7
votes
3
answers
3k
views
Flutterfire cli not showing windows as an option for platform to support
The following error is thrown when I tried to run a windows application
[ERROR:flutter/runtime/dart_vm_initializer.cc(41)] Unhandled Exception: Unsupported operation: DefaultFirebaseOptions have not ...
0
votes
1
answer
4k
views
Flutter .exe Release not running on Windows
When I build flutter for windows with flutter build windows it generates a .exe file with its .dll files etc. However, running that file (.exe) gives me a white screen and my app is not running ...
2
votes
2
answers
1k
views
Flutter IconButton IconColor OnHover (not hoverColor) on Windows Desktop app
I'm trying to change the color of the icon itself onHover instead of the splash(?)Circle thing around it,
IconButton(
onPressed: () {},
hoverColor:
Colors.green,
icon: const Icon(
Icons.edit)),
is ...
0
votes
1
answer
844
views
Build a flutter application for windows platforms on Mac
Can I build a flutter application for windows platform on Mac?
Because I don't want to install a visual studio on my Mac just for build.
Is there any totally "command-line" way to build a ...
1
vote
1
answer
879
views
Flutter: MissingPluginException(No implementation found for method DocumentReference#set on channel plugins.flutter.io/firebase_firestore)
I'm building windows application by flutter, after adding Firebase packages and connect the app to firebase, I had this problem:
Unhandled Exception: MissingPluginException(No implementation found for ...
1
vote
1
answer
268
views
How can I update array value on cloud firestore using firedart package on flutter?
My code:
import 'package:firedart/firedart.dart';
import 'package:firedart/firestore/firestore.dart';
class FirestoreMethods{
final _firestore = Firestore.instance;
Future<void> likePost(String ...
0
votes
1
answer
559
views
activate camera in flutter windows webview
Flutter windows
flutter: 3.0.5
webview_windows: ^0.2.1
I want to display web camera in webview_windows.
valid display
webview display
The purpose of using webview is to stream the camera in flutter ...