192 questions
1
vote
0
answers
56
views
Flutter Firebase Auth crash on Windows with warning “message from native to Flutter on a non-platform thread”
I’m getting a crash and can’t seem to find any clear solution online. My Flutter app uses Firebase Auth (along with Firebase Core and Storage), and everything works fine on some Windows devices, but ...
-1
votes
1
answer
266
views
Flutter: in app web view causes app to be killed in windows
I'm building a flutter app on windows, i have tried different packages for in app web view like flutter_inappwebview and webview_cef.
The problem is when the application goes to the webview screen , ...
0
votes
1
answer
247
views
Sharing of key-value pair via flutter_secure_storage package
I have 2 flutter apps (let's call them as App1 and App2) which I am running on Windows platform as well.
From App1, I am writing a key-value pair (Key: 'Key1', Value: 'Value1') using ...
0
votes
0
answers
31
views
Flutter windows app blocking desktop access
I’ve developed a Flutter application that targets both iOS and Windows platforms. While the app functions well on iOS, I’m encountering a strange issue on Windows.
When the app is launched on Windows, ...
1
vote
1
answer
60
views
Capture PowerShell Output in Dart and Flutter when Running Commands as an Administrator using Start-Process and -Verb RunAs
I am trying to run a Powershell command with admin privileges in Flutter/Dart.
The command runs a .ps1 file inside the temp directory.
I found this article, which I implemented and it works fine.
...
1
vote
1
answer
61
views
Flutter doesn't render Windows app in debug mode
I've been trying to debug my Windows application, but it doesn't render properly. Meanwhile, the release version of the app works just fine. This is the debug view: Windows app with render problems
...
1
vote
0
answers
280
views
A platform implementation for `flutter_inappwebview` has not been set
I'm using the flutter_inappwebview package (version 6.1.5) in my Flutter project to create a cross-platform WebView. However, I'm getting the following error when initializing the WebView:
A platform ...
1
vote
0
answers
49
views
Hide keyboard on Flutter Window
I am using a TextField, but when opening the on-screen keyboard on a touch-screen device running Windows, I encounter an issue where the keyboard does not automatically hide and remains visible.
I ...
1
vote
0
answers
79
views
Flutter Video Player Fails To Initialze in Release Mode on Windows Only
So I suspect this will be a hard one. But here we go.
I have my video player. I use the Chewie plugin. Coupled with the Video Player plugin.
Now, my flutter code is used amongst 4 platforms. Android, ...
0
votes
1
answer
80
views
firebase_auth/invalid-credential The supplied auth credential is malformed or has expired, Firebase sign in on Windows
I am using the package google_sign_in_all_platforms to sign into Firebase, after signing in with Google, and I am getting the error: [firebase_auth/invalid-credential] The supplied auth credential is ...
0
votes
1
answer
71
views
CI/CD Flutter Windows Pipeline
Github is showing this error in the Actions while processing the jobs:
Run thedoctor0/zip-release@master
Run $GITHUB_ACTION_PATH/entrypoint.sh
D:\a\_actions\thedoctor0\zip-release\master/entrypoint.sh:...
0
votes
0
answers
36
views
How to make custom notifications on Windows/Linux on Flatter?
I need to make custom notifications like in the screenshot (telegram notifications). I tried to use the following libraries: windows_notification, local_notifier. But they didn't suit me because they ...
0
votes
0
answers
30
views
Why does Flutter Desktop (Windows) and Web app pause which performinng a complex loop
i am working on a school timetable for my undergraduate project work. in My project i am using flutter and my app runs on both desktop and web. Anytime i am performing some looping and conditions, my ...
0
votes
0
answers
45
views
How to load an HTML page with relative CSS paths in Flutter Windows app using inappwebview?
I am trying to load an HTML page in my Flutter Windows app using the inAppWebView package (latest version), and the HTML page contains relative paths to external CSS files.
The HTML page is located at ...
0
votes
1
answer
139
views
How to Enable Breakpoints and Debugging in Flutter Windows Release Build?
I'm developing a Flutter application on Windows, and everything works perfectly in debug mode. However, when I switch to release mode, I encounter multiple issues, particularly with the UI rendering ...
0
votes
1
answer
159
views
how to add flutter windows app to start-up on windows 11?
I want my flutter windows app to auto start on system boot.
I have used win32 package to achieve this and it's working on windows 10. but on windows 11, no registry entry is created.
I have also added ...
0
votes
1
answer
61
views
c++ errors when run flutter project on windows
I created a new flutter project and tried to run it as a desktop application (on windows) , however I got the following error :
C:\Users\muham\StudioProjects\untitled\windows\runner\utils.cpp(54,43): ...
0
votes
1
answer
33
views
How to Align RichText to the left in Dialog? Flutter
I want to make RichText align to the left.
I tried use Container, Row, Column, Flexible, Expanded widgets, but nothing helped me.
Future getAuthorsDialog(BuildContext context) {
return showDialog<...
3
votes
2
answers
74
views
How to move Tab button to actions zone in AppBar (Flutter Windows)
I want to make a "Settings" button in the actions area of the AppBar. I seem to have succeeded, but I can click on this empty container. I want to make it so that Settings is either in the ...
0
votes
1
answer
89
views
Flutter Windows error when installing application, "the application was unable to start correctly 0xc00007b"
When I am trying to install the Flutter Windows application to Windows 10, it gives me an error:
the application was unable to start correctly 0xc00007b
1
vote
0
answers
104
views
How to handle focus change and onTap on ListTile item simultaneously in Flutter without using Future.delayed?
I have created a custom SearchDropdown widget in Flutter, which includes a TextFormField and a dropdown list of items. When the text field gains or loses focus, the dropdown list should appear or ...
14
votes
8
answers
17k
views
Type 'UnmodifiableUint8ListView' not found (Flutter Build Error)
I created a Flutter project, that targets Android, iOS, macOS, Linux and Windows.
It works well on both Android and iOS, but when I try to compile it on Windows 10, I got the following error:
Error (...
1
vote
0
answers
111
views
What do I use to replace FlutterView window when customizing RenderView class in the new versions of Flutter(like 3.1 and beyond)?
I updated from Dart 3.0 to 3.2 and I am getting some execution errors.
Original code using window that worked up to 3.0.5:
Before
Tried to change to use View class to work with 3.19.0 and over:
After
...
0
votes
0
answers
264
views
cannot invoke a native callback outside of an isolate
We call CPP dll in Flutter using Flutter ffi. This is our CPP function in dll.
extern "C" __declspec(dllexport) void StartServerSession (const char* Name,const char* js,int& sessionID,...
3
votes
2
answers
517
views
Flutter App Crashes on Windows 10 While Listening to a Document with Cloud Firestore
When I run my Flutter application on Windows 10 x64, the app crashes while listening to a document with cloud_firestore. There are no debug messages shown. Is there anyone experiencing this problem or ...
1
vote
0
answers
220
views
Securing Assets in Flutter Windows Apps: How to Hide or Encrypt Assets Folder?"
I'm developing a Flutter application for Windows, and I'm concerned about the security of the assets included in the application bundle. In the release version of the app, I want to ensure that the ...
0
votes
1
answer
1k
views
How to create a Event Channel in Flutter Windows Desktop Application (Dart and C++) ? Dart and CPP
I want create a event channel in my flutter windows application for asynchronous event streams between flutter and windows app.
where I want to get a continuous data to be listened, but i am not ...
0
votes
1
answer
581
views
Remove the scroll bar itself from the flutter
If you scroll through physics: const Never Scrollable ScrollPhysics() in SingleChildScrollView from the plutter, you will not be able to scroll, but if you bring the mouse to the right of the ...
1
vote
1
answer
632
views
How to use the full screen in the Flutter Windows app
How do I use the full screen in the Flutter Window app?
I want to see the app in full screen without the top bar and bottom bar in the Windows app.
For example, in Chrome, I want to make F11 come to ...
0
votes
1
answer
196
views
after building release file is not opening
I have created build for windows using flutter,
initially showing error #flutter_window.ddl,#printing_ddl, now after resolving this
build is created in installer folder(I have created new one) when I ...
1
vote
1
answer
405
views
Problems when updating the cloud_firestore package to version 4.13.0 (to Windows) on Flutter
I really need to run firestore o Windows app. For that, I need at least cloud_firestore v4.13.0
I tried a lot of things... but I am getting this problems:
Showing outdated packages.
[*] indicates ...
0
votes
0
answers
250
views
Flutter windows app crashes, video_player controller might not being disposed properly as no logs are being printed except lost connection to device
I have divided screens into multiple zones and in of them each trying to play multiple videos. The problem is the app crashes after playing videos for few seconds.
Here is the playing logic. I think ...
0
votes
2
answers
2k
views
My Flutter Windows Application (.exe) runs only in background
I have created a flutter project (windows platform). I build the application than use inno setup to create a setup file but when I run the application after installation it runs in background not in ...
1
vote
0
answers
35
views
Flutter Desktop-How can I add c++ packages to my project
I was trying to print pdf file using flutter in desktop but unfortunately most flutter packages not worked, so I am trying to make that task in native code(c++) and make channel between it and Flutter....
1
vote
1
answer
991
views
Flutter- printing package causing error in windows
/C:/Users/SAMSUNG/AppData/Local/Pub/Cache/hosted/pub.dev/printing-5.11.0/lib/src/widget_wrapper.dart:173:11: Error: No named parameter with the name 'size'.
size:
^^^^
/D:/...
2
votes
1
answer
638
views
Unable to open windows Camera using ImagePicker
i am using image_picker: ^1.0.4 package for picking image from camera and gallery. it is working fine for android and ios but in windows camera is not opening. documentation suggests that to use ...
0
votes
1
answer
339
views
How to get application name by using pid in dart-win32
I'm trying to get currently active application's name on windows flutter app using pid. Is there any way to get the app's name by process id?
Here is my code:
import 'dart:ffi' as ffi;
import 'package:...
0
votes
1
answer
236
views
Dart:ffi - 'must be a subtype' for 'lookupFunction' issue for native code in dart
The type 'Uint32 Function(IntPtr, Pointer<Uint32>)' must be a subtype of 'int Function(IntPtr, Pointer<Uint32>)' for 'lookupFunction'.
class Psapi {
static final ffi.DynamicLibrary psapi ...
2
votes
2
answers
473
views
How can I get PID(process id) of window/tab I'm currently active in Flutter windows application?
import 'dart:io'
...
print(pid);
This code print the pid of my Flutter application. But I want to get the other apps' pid when I switch on that app.
Suppose, I am now on skype app. So this print(pid) ...
0
votes
1
answer
646
views
LNK2001 error when trying to build a flutter application for windows
Recently the firebase official packages including (Firebase_Auth, cloud_Firestore, and Firebase_storage), started supporting windows platform. Prior to that I was using community packages for the ...
2
votes
1
answer
482
views
Flutter Desktop app platform thread in the Firebase Firestore plugin error
i am building desktop application with flutter. to load all the records from firebase database i am using stream builder but when i start the app it doesn't load any data from firestore database and ...
1
vote
1
answer
393
views
Flutter Windows Unhandled Exception: MissingPluginException(No implementation found for method showToast on channel PonnamKarthik/fluttertoast)
i am building my application for windows desktop on flutter. i tried using flutter toast the same way as it is used for android or ios but it is giving me this error:
[ERROR:flutter/runtime/...
0
votes
0
answers
520
views
Sync database from Firebase to Supabase
Context:
I created an app for Android users a long time ago. Thats a simple app for customers ask for food. This app uses Firebase Realtime Database to send the orders to the server. The structure of ...
0
votes
0
answers
65
views
Getting error while trying to integrate cloud firestore with flutter windows platforms
Recently cloud firestore has extended its support for windows, now Iam trying to integrate cloud firestore package with my flutter windows platform project. in debug mode Iam not getting any error. ...
0
votes
1
answer
1k
views
Is there any way in Flutter to set the minimum window size for Windows?
Many Windows programs allow you to reduce the window size up to a certain size. However, when I create a new project in Flutter, the window can be shrunk without any restrictions, so that nothing of ...
0
votes
1
answer
528
views
After creating .exe file my flutter application (windows based) runs in background instead of running in foreground
I have made my flutter project (windows platform) using android studio, I build the application than use inno setup to create a setup file but when I run the application after installation it runs in ...
0
votes
1
answer
142
views
How to add firebase, Firebase Firestore & Messaging to flutter windows app?
I need to add Firebase, Firebase Firestore & Messaging to my flutter
desktop app.
in my android app it is working well. i need to this to work on
desktop app.
when I run flutter app on windows, it ...
0
votes
1
answer
985
views
flutter windows Exception: Unable to generate build files
I have a flutter application. I install and configure firebase in my app. After that, I try to run my app on windows, but flutter return this error (when I run flutter run -d windows -v command).
[ +...
0
votes
0
answers
160
views
flutter app for windows, has to run as admin, or error: 0xc0000022
i just start to use flutter, and finally make the flutter env worked.
but i have a problem now, if i do: flutter build windows --release --split-debug-info=xxx
it just failed(succeed in debug mode):
H:...
0
votes
1
answer
1k
views
Printing Through ESC POS Printer via usb for windows app in flutter
I'm new to flutter, right no I'm trying to develop an app for windows that can print a ticket via USB from a thermal printer. I have been trying to communicate with the printer using a few plugins, I ...