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.
Questions tagged [flutter-desktop]
352 questions
6
votes
0 answers
Flutter: when I click on other widget, SelectableText not deselect
when selecting text from SelectableText and wanting to change the selected text both SelectableText remain as they're selected.
Code:
Column(
children:[
SelectableText(
'1004',
style: Theme.of(context).textTheme.bodyText2,
…

Ara Hussein
- 270
- 1
- 13
6
votes
3 answers
How to open file with a Flutter app on MacOS/Windows?
I have an app that should open certain file types. From the app itself, it's quite straightforward with file_picker plugin. But how to open a file trough the file manager? In other words, trough the "Open with" context menu.
I tried checking the…

Benjamin Dean
- 709
- 1
- 6
- 15
6
votes
1 answer
Is there any way to add In App Purchases in Flutter Web?
I want to add google in app purchases in my flutter web and desktop project.
is there any way that we can do that.

Awais Ibrahim
- 61
- 1
6
votes
1 answer
Flutter Windows build Failed, error LNK1168
While building a Flutter app for Windows in debug mode, this error is occuring. flutter doctor -v gives normal output. What might be the cause of this ?
Launching lib\main.dart on Windows in debug mode...
lib\main.dart:1
LINK : fatal error LNK1168:…

aihamhasan
- 479
- 1
- 6
- 11
6
votes
1 answer
Flutter conditionnal import mobile vs desktop
Importing on web vs native is easy
import '../wrappers/platform/platform_none.dart'
if (dart.library.io) '../wrappers/platform/platform_io.dart'
if (dart.library.js) '../wrappers/platform/platform_web.dart';
What if I want to import a…

Lulupointu
- 3,364
- 1
- 12
- 28
6
votes
4 answers
How come "flutter create ." adds desktop support?
I created a Flutter project within Android Studio, and then later found out that Flutter supports desktop. After searching the web, I did things like switching to "dev", adding config for desktop, etc. But when I tried to ran it, I got "No Windows…

Damn Vegetables
- 11,484
- 13
- 80
- 135
6
votes
0 answers
Inspect widget font, margin, padding and other properties
Using flutter inspector I'm not able to find a list of widget's properties like font size, font family, border color, padding, margin ...
For example, in a Text widget the available properties are textDirection, textAlign, size, and a few more, like…

Ansharja
- 1,237
- 1
- 14
- 37
6
votes
4 answers
Flutter-desktop Frameless window support
just started with flutter and I am playing with macos desktop app. I wonder if flutter has support for frameless window.
For example in Electron.js we can define frameless window and our app window can have really custom shape. We can recreate our…

TomRavn
- 1,134
- 14
- 30
6
votes
4 answers
Flutter Desktop Linux build failed
When I try to build my app to Flutter Desktop its fail with this message:
Launching lib/main.dart on Linux in debug mode...
Exception: Build process failed
My configuration is:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter…

Jacques Marques
- 81
- 1
- 6
6
votes
3 answers
How to release a macos app written with flutter
I have a flutter app which I built in Flutter for macOS. But I cannot figure out a way to codesign the Application.app package. I have searched the internet and couldn't get a proper way to do it.

Jude Osbert K
- 940
- 9
- 22
6
votes
2 answers
Is there any solution to take picture using laptop camera with Flutter desktop?
Is there any solution to take picture using the laptop camera with Flutter desktop (on Windows)?
I don't want to use go-flutter.

Nadim Gouia
- 141
- 1
- 2
- 7
5
votes
1 answer
Flutter linux build on Ubuntu 22.04 LTS CMake Error
I have flutter project and can be build successfully on Ubuntu 20.04. Now I want to build it on Ubuntu 22.04 but I got CMake Error.
CMake Error at /snap/flutter/111/usr/share/cmake-3.10/Modules/CMakeTestCXXCompiler.cmake:45 (message):
The C++…

Miftakhul Arzak
- 1,166
- 1
- 12
- 31
5
votes
1 answer
Is it possible to create desktop widgets using flutter windows app?
**Hi, I am new to flutter desktop apps. I am trying to create desktop widgets like the image below. I searched on the internet and found nothing. Can any one help me? Thanks in advance.
**

siva.picky
- 499
- 5
- 17
5
votes
2 answers
How to use Flutter Desktop open windows explorer?
I want to open the windows explorer application, not open a dialog. for example, the Edge's display in a folder.

ilgnefz
- 55
- 1
- 4
5
votes
3 answers
Flutter Desktop Windows: How to call native code via Method Channel. (Make api calls in header file)
The title says it all. There is nearly no documentation on flutter's website that shows how to invoke a method in windows native code via a method channel. But I found an issue on the flutter's github that said its possible but there was no code…

shivanshPurple
- 150
- 1
- 12