Issue I am developing an image viewer desktop app using flutter. The images which I am trying to open using flutter Image.file(‘largeImage.jpg’) but it fails to load the image with following error: ══╡ EXCEPTION CAUGHT BY IMAGE RESOURCE SERVICE ╞═════════════════════════════════════
Continue readingCategory: Flutter Desktop
Flutter extremely slow on linux
Issue Flutter application is extremely slow on linux. The performance tab shows 15fps and it never goes beyond that. I was unable to find any explanation or possible solution for this issue. Any suggestions? clang version 10.0.0-4ubuntu1/ cmake version 3.16.3/
Continue readinghow to bundle flutter desktop assets into a single file for production build
Issue 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 images easily and
Continue readingFlutter Desktop MacOS: how to open a file from Finder with Flutter app
Issue I’ve written a Flutter Desktop MacOS application that uses a command line argument to process a file: void main(List<String> args) async { if (args.isNotEmpty) { runApp(MyApp(args.first)) } else …; } which works as expected when I run it from
Continue readingIn Flutter Desktop, DropDownButton is restricted to the window size. Can we let it overflow?
Issue I am working on a desktop app with Flutter. This application runs as a small dialog on the screen with a dropdown list. I expect the height of the dropdown list to be larger than the dialog’s height. In
Continue readingHow to get the ScreenSize from a Flutter App for Windows Desktop?
Issue WidgetsBinding.instance.window.physicalSize.width / WidgetsBinding.instance.window.physicalSize.height; is 1024.0*1898.0, and DesktopWindow.getWindowSize(); is Size(0.0, 0.0) on a 4K monitor. How can I get the real screen size? (should be 2160*3840) Solution Currently getting the screen size requires a plugin, such as window_size. With window_size,
Continue readingHow to clear flutter desktop app data like flutter mobile app
Issue i’m working on flutter desktop app and i want to clear app database, Like as we do on mobile, we go to app settings and clear cache and data, to reset app settings. Likewise i want to do the
Continue readingFlutter paginated data table with separate API request on each page
Issue I am using PaginatedDataTable widget to show my data which requires all the data from the start. e.g. I want 10 entries per page and I have 100 data records (entries) so the widget requires the 100 data records
Continue readingFlutter linux build on Ubuntu 22.04 LTS CMake Error
Issue 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++ compiler "/snap/flutter/current/usr/bin/clang++" is not able to
Continue readingFlutter windows dektop Lost connection to device
Issue I had installed flutter on windows 10, created a project (default), the project runs in chrome and edge but not as windows desktop application it starts with the windows frame (no content are displayed) after couple of seconds reports
Continue reading