Questions tagged [flutter-windows]

Use this tag for questions related to windows-specific Flutter desktop questions, in conjunction with [flutter]. For more general Flutter desktop questions, use [flutter-desktop] and, for general Flutter questions, use only [flutter].

176 questions
2
votes
2 answers

how to change title bar icon in flutter desktop

this is how I change the title but can't change the icon. void main() { WidgetsFlutterBinding.ensureInitialized(); if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) { setWindowTitle('Title'); // setWindowMinSize(const…
2
votes
1 answer

Flutter Windows : TextField does not allow space if it is placed inside AlertDialog

One hour ago I discovered a TextField strange behavior when I place it inside AlertDialog it does not allow typing space Otherwise it behaves normally here is my code: //================Flutter doctor -v [√] Flutter (Channel stable, 2.0.2, on…
aym1781969
  • 545
  • 1
  • 4
  • 16
1
vote
1 answer

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 to be comingfrom firebase/variant.h, and here's…
Danish Ajaib
  • 83
  • 1
  • 3
  • 14
1
vote
1 answer

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 expect receiving string message from host. Any help…
1
vote
2 answers

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 windows" I mention this app is intended only for…
1
vote
3 answers

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 is my pubspec.yaml file: environment: sdk:…
Beni
  • 21
  • 3
1
vote
1 answer

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 sqflite_common_ffi to save and retrieve data
1
vote
0 answers

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 application asset folder. I am just iterating on the…
1
vote
1 answer

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
0 answers

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( selectedIndex:…
CEW
  • 11
  • 6
1
vote
1 answer

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 secure at all!), user can change the whole…
1
vote
1 answer

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 method DocumentReference#set on channel…
1
vote
1 answer

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 likePost(String postId, String uid, List likes) async { try { …
1
vote
1 answer

Flutter Windows Application fails to compile

I want to debug the flutter demo application on windows x64 device.but it always fails with 1 error and 1 warning this is my Debug console : Launching lib\main.dart on Windows in debug…
1
vote
0 answers

How to integrate scrcpy window into Flutter Windows Desktop Application?

I want use Flutter Windows Desktop to develop a mobile phone control application. But I do not know how to integrate scrcpy window into the Flutter Application. I'm not familiar with C + +, can I solve this problem by using Flutter…