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
2
votes
2 answers

Windows Desktop application wrote with Flutter, compiled to machine code or bytecode?

I want to build an application using flutter. According to Flutter website: Get native-compiled performance without large browser engine dependencies. Are flutter app's compiled to machine code or byte code?
ash vaaz
  • 47
  • 4
2
votes
0 answers

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 printing 100+ bills the windows shows low memory alert…
2
votes
1 answer

Flutter Desktop, how to get windows user profile name?

I want to get windows user's profile name from my Flutter desktop app. Is there a way to get it?
aoiTenshi
  • 547
  • 1
  • 6
  • 20
2
votes
2 answers

Can I use firebase as a backend for flutter desktop app? If so how?

I am building a desktop app using flutter. Can I use firebase as a backend for that? If so how?
2
votes
0 answers

The "--platforms" argument is not supported in module template

A brand new Flutter Project created in VSCode throws the above error when I try to run it on Windows. Detailed steps to reproduce below: I created a new default Flutter application in VSCode. I ran flutter config --enable-windows-desktop I ran…
user3185563
  • 1,314
  • 2
  • 15
  • 22
2
votes
0 answers

Flutter desktop File drop

Is there any way or plugin to drag and drop a file from the Flutter app to Windows File Explorer?
Lineapasta
  • 21
  • 4
2
votes
2 answers

How do I add hotkeys or key actions to items in a listview when they have focus?

I am using Flutter Desktop (Windows 10) with Flutter 3.0.1 In a flutter listview.builder, I can add InkWell to each item and when focused, I can press Enter or NumpadEnter keys to launch the onkey event. But I want to add different keypresses like…
fenchai
  • 518
  • 1
  • 7
  • 21
2
votes
0 answers

Flutter OS X Execute GO Binary in Swift

I want to develop a PoC application in Flutter for Mac/OS X as a desktop app (Flutter Framework supports Mac Desktop apps, but I'm trying to figure out a key piece regarding a binary executable. Basically, I want to be able to execute an OS X…
2
votes
2 answers

Set mouse cursor position in Flutter

Is it possible to set the position of the mouse cursor using Flutter for desktop? I'm sure this is possible using custom plugins, but I'm hoping for a cross-platform Dart solution or an existing plugin.
Joshua Wade
  • 4,755
  • 2
  • 24
  • 44
2
votes
1 answer

Flutter: Navigation in a pop-up dialog

Is it possible to use a separate Navigator in a pop up window? Separate BuildContext? I have a working app (APP1) and I would like to show it in a new one (APP2) (e.g. on a button press to open the existing app). APP1 has multiple pages. I was able…
2
votes
2 answers

Any way to play audio file for windows desktop application in flutter?

I'm new to flutter and making a desktop application with flutter. Now I need to load and play audio files but found that the audio player packages don't support desktop software in windows. So if there is any way to play audio file for windows…
2
votes
0 answers

Detect pressed key when flutter desktop app is not focus or minimise

I want to detect keyboard event and for that I am using RawKeyboardListener/RawKeyboard. This is working when app is focused, but when app is minimised or unfocused RawKeyboard listener isn't working anymore. As per flutter documentation regarding…
Hemal Moradiya
  • 1,715
  • 1
  • 6
  • 26
2
votes
1 answer

How to integrate flutter windows app with firebase?

I am trying to create windows app with flutter and I want to use firebase for authentication and firestore for storing data , So how can I integerate it ?
2
votes
0 answers

How to limit the chrome size in flutter web?

Is there any way we can limit the size of Chrome flutter_web app? Like we can do in flutter_desktop if (Platform.isWindows || Platform.isLinux || Platform.isMacOS) { setWindowTitle('App title'); setWindowMinSize(const Size(700, 500)); …
2
votes
0 answers

How to add splash screen before flutter window creation in Win32

I am working on flutter desktop application and want to add small size splash screen before flutter application window appear. I am trying to do this in win32_window.cpp file. This is main.cpp file Image1 But don't know exactly what to do. Can…
Dev94
  • 757
  • 6
  • 24