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

How to enable Flutter internet permission for macos desktop app?

I am trying to develop Flutter app which will run also on destkop. This app is using http package: import 'package:http/http.dart' When I am trying to perform http request I am getting this exception: SocketException: Connection failed (OS Error:…
K.Os
  • 5,123
  • 8
  • 40
  • 95
34
votes
10 answers

Unable to find suitable Visual Studio toolchain. Please run `flutter doctor` for more details

Iam trying to create and run a flutter desktop application in visual studio 2019 ,i have downloaded the files required(MSBuild and MSVC) and still getting error. i was having 2013 versio and uninstalled it and installed 2019 version and all is…
ADev
  • 669
  • 3
  • 11
  • 17
29
votes
2 answers

Disable Desktop Support Flutter

So, I wanted to try desktop development in Flutter. I went through all steps and successfully enabled desktop support for Flutter using flutter config --enable-linux-desktop in master channel. Now everytime I create a new project in Flutter, it…
Detained Developer
  • 1,134
  • 2
  • 13
  • 33
29
votes
3 answers

Flutter - http.get fails on macos build target: Connection failed

I started porting my Flutter app to macos Desktop. The UI started fine. However, as soon as the app makes a network call, it fails instantly with Connection failed (OS Error: Operation not permitted). Running a one-liner: final response = await…
15
votes
5 answers

flutter-desktop-embedding how to build exe file

in flutter-desktop-embedding , I am a windows environment, I can run it, but I don't know how to build an exe file. I want to know what to do.
da fa
  • 197
  • 1
  • 1
  • 8
13
votes
19 answers

Flutter Windows: cannot build App error MSB8066

I am getting this error while building for windows C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\MSBuild\Microsoft\VC\v160\Microsoft.CppCommon.targets(238,5): error MSB8066: Custom build for 'D:\DSI…
aihamhasan
  • 479
  • 1
  • 6
  • 11
13
votes
5 answers

How to change app icon and app name for Flutter Desktop application?

I'm using Flutter to develop Windows desktop application, but don't know how to change the name and icon for the application.
billcyz
  • 1,219
  • 2
  • 18
  • 32
13
votes
6 answers

Exception: No Linux desktop project configured error on flutter project

When I try to build my app to Flutter Desktop its fail with this message: Running "flutter pub get" in project... Launching lib/main.dart on Linux in debug mode... Exception: No Linux desktop project configured. See…
rvndsngwn
  • 417
  • 2
  • 5
  • 11
13
votes
3 answers

How to use both Flutter stable and dev SDK on the same machine?

I'm working with Flutter to make a Mobile App using the stable Flutter SDK release. But I also want to try Flutter Desktop and Flutter Web that are not part of the Flutter stable channel yet, but are present on the Flutter dev channel. My question…
Eleandro Duzentos
  • 1,370
  • 18
  • 36
12
votes
3 answers

How to customize AppMenu(MenuBar) in flutter desktop?

I am new to flutter and am creating one application with it that is run on all platforms like iOS, Android, Desktop (macOS, Linux, Windows), and web also. Now, the client wants to customize the MenuBar and put some extra actions and set grouping of…
Jatin Patel
  • 396
  • 3
  • 14
12
votes
11 answers

Is it possible to use Android Studio to build a website in flutter

I have some basic knowledge of building android apps using Android Studio with Java language. Now I want to start learning flutter but not really sure about a couple of things. I read that it's possible to build cross-platform mobile apps with…
Rashedul Hasan
  • 155
  • 1
  • 1
  • 8
11
votes
4 answers

Run only single instance of flutter desktop application

I am working on flutter desktop app. I want to execute only single instance of app. But currently it allows me to run more than one instance. How can I allow only one .exe file of this application to run?
Dev94
  • 757
  • 6
  • 24
11
votes
5 answers

MissingPluginException exception when a firebase anonymous sign-in with flutter (windows) app

I recently started out with flutter for windows. I'm following this firebase and flutter tutorial. At lecture 4, I am getting error with Firebase Auth: flutter: MissingPluginException(No implementation found for method signInAnonymously on channel…
10
votes
0 answers

Flutter Desktop click through window

I'm building a transparent app using Flutter Desktop for Linux, is there a way to click through the main app window, still showing the app? I'm trying to write some kind of overlay app. I've tried using the IgnorePointer widget on the root widget…
Pacane
  • 20,273
  • 18
  • 60
  • 97
10
votes
1 answer

Using a C++ DLL in Flutter Windows desktop app

I have some libraries to interact with a FTDI chip that I packaged into a DLL in C++. I would like to create a front-end with Flutter and use that library in a windows desktop app. These features are still new in Flutter and the documentation is…
ESD
  • 675
  • 2
  • 12
  • 35
1
2 3
23 24