47 questions
1
vote
1
answer
420
views
404 error when refreshing Flutter web app
I'm facing an issue; when I try to refresh a Flutter web app page from server it is giving me below mention error.
404 Not Found - "The requested URL was not found on this server."
I went ...
1
vote
0
answers
48
views
Handle url callbacks using URL launcher in flutter web app
I opened a URL using the URL launcher, and that URL opened a login page. Once the user logs in, it opens another page whose URL has a query parameter I have to access for further integrations. How ...
1
vote
0
answers
113
views
Flutter Web App does not render correctly on the mobile browsers
I have a Flutter web app that I am trying to host using Firebase hosting. On my first deployment, I identified that the app's look from the mobile and desktop browsers is very different. Reading some ...
-1
votes
1
answer
768
views
Firefox Browser doesnot support to run Flutter Web app [duplicate]
I am trying to run Flutter web app in firefox browser. But it is not showing in devices list, only showing chrome and edge browsers. How to add Firefox in devices list and run flutter web application.
...
0
votes
0
answers
156
views
How to remove minify from flutter web URL (https://energymaxapp.com/webapp/minified:lM)
So, I have published an webapp with flutter and it is behaving strange when I am releasing it. In local host it is working completely fine with proper URL structure.
It is showing this kind of URL - ...
0
votes
1
answer
95
views
Flutter Web App: Unable to Retrieve User Location on iOS Web Browsers After Granting Permission
I'm developing a Flutter web application and encountering an issue with retrieving the user's location on iOS web browsers, specifically Chrome and Safari.
Problem Details:
When the user is prompted ...
0
votes
1
answer
156
views
How to destroy the flutter web build being used in react on parent component unmount?
I have implemented a bridge between flutter web build and react app to show the flutter app inside a react component. I am able to render the app and update its state from react's end. The problem I ...
0
votes
1
answer
239
views
Trouble to generate a pdf in flutter web and then display and download it
I am building the website where In a section I can generate a pdf from the dynamic values and then to download it to the device.The pdf can be generated and downloaded but not viewed in the browser ...
6
votes
2
answers
10k
views
Optimizing Flutter Web App Initial Load Times
Flutter Web apps often face slow initial load times. While this topic has been discussed, the technology has changed and so are the best practices.
Goal: To create a comprehensive resource for ...
1
vote
0
answers
163
views
Persisting Side Menu Drawer and AppBar in Flutter Web with GetX and Handling Browser Back/Forward Buttons
I'm currently working on a Flutter web project using the GetX state management library. I have implemented a side menu drawer and an app bar in my application. However, I'm facing an issue with ...
0
votes
1
answer
413
views
Flutter Web Image Cropping On Mobile Not Working (RepaintBoundary and package screenshot: ^2.1.0)
I'm working on a flutter web project and i have a page that pick and uploads Images and user can zoom in or out to crop image
the problem is:
Cropping images on web on desktops working properly but on ...
0
votes
0
answers
59
views
In flutter web Odia language show strange character
In my project utf8 is already set in web.This happen only for odia language. I am using Text widget to show the text.
Text Widget :
Text("କାନାରା ଏଚଏସବିସି ଲାଇଫ୍ ଇନସୁରାନ୍ସ କମ୍ପାନୀ ଲିମିଟେଡ୍"),
1
vote
1
answer
2k
views
flutter webview unable to go back when url is redirect
I am building a flutter application. Use of this application is show the web pages in webview. In this application have one button. While clicking the button it needs to open webview and load the url.
...
1
vote
0
answers
154
views
Flutter Web - App Reloads on Browser resizing using inspect
I've been developing a flutter web app with multiple screens. Actually my issue comes when I tries to resize my browser window my app reloads with first page of the app with some errors. I was struck ...
0
votes
1
answer
139
views
Flutter web next page name shows in url but current page frozen and no longer responding to gestures
Just developed a simple flutter web app and seems to be working fine. Only problem am facing is: On say PageB I have a bunch of TextFormFields all having autoFocus set to false. Pressing a button ...
0
votes
1
answer
902
views
How can I locally save a specific image from the flutter web Application
How can I locally save a specific image from the Flutter web Application? I'm working on a Flutter web application. When I right-click and save the image from the Flutter web application it's saved as ...
0
votes
0
answers
34
views
how to make timers for flutter web apps, which can run in the background on browsers? [duplicate]
we are building a web application with flutter, and we have run into issues with timers.
In short for each user online, we run timers of different lengths (typically 25 min) the problem is that if you ...
0
votes
1
answer
2k
views
flutter build web creates a nested assets folder so images are not loaded
from pubspec.yaml:
flutter:
assets:
- assets/images/
fonts:
- family: NunitoSans
fonts:
- asset: assets/fonts/NunitoSans-Regular.ttf
- asset: assets/fonts/NunitoSans-...
1
vote
0
answers
248
views
How to navigate back to my app from a browser page in flutter
In my flutter app I navigate to a website with URL_Launcher and it opens in the external Browser. After adding an user account on success page I need to navigate back to specific page. Kindly help ...
0
votes
1
answer
443
views
How to disable options menu in FlutterWebBrowser
I am using the flutter package flutter_web_browser: ^0.17.1 in my flutter mobile application to open a URL.
As per the documentation, we can set some additional options when we are opening the browser ...
0
votes
3
answers
609
views
I want the text and icon together in a line under one widget in body
I want the text and icon together in a line under one widget in body. I tried and I got the following error
Too many positional arguments, 0 expected but 1 received
Can Any one help me with this? ...
0
votes
1
answer
255
views
Flutter Web webpage freezed on index.html while pressing browser reload button
when I click on browsers reload button my web page stucked on index.html page
while debugging I got to know that there is a javascript code i.e
navigator.serviceWorker.register('/...
3
votes
1
answer
2k
views
Event$ object was thrown resolving an image frame: [object Event]
======== Exception caught by image resource service ================================================
The following Event$ object was thrown resolving an image frame:
[object Event]
When the exception ...
0
votes
1
answer
192
views
Google Auth is not working in flutter webview
Tried to login in boat website via google through flutter webview, getting above issue everytime.
3
votes
1
answer
2k
views
Flutter web: Opening direct URL navigation working on local but not after deployment
Even though there exists one Question that is already opened I didnt understand the approaches, but first to the problem itself.
On my local machine my routing works fine.
But when I host it I have ...
1
vote
1
answer
6k
views
How to enable web notification in Flutter web view
I create app from web using web view the web used to send notification to user it work in chrome and other browser but it not work in web view app
Is their any way to show web notification like chrome ...
7
votes
1
answer
994
views
Why am I getting a ChromeProxyService error with Flutter Web and Chrome
I'm using Flutter version 3.3.8 and Google Chrome version 107.0.5304.110.
I send an http request, and this is the error that I get:
ChromeProxyService: Failed to evaluate expression 'xhr': ...
0
votes
1
answer
1k
views
How could I open a WebPage inside my Flutter WebApp and parse the URI of this webpage?
Does someone know how to open a "WebView" inside a Flutter WebApp ? I need to parse the url of a webpage an return this result into mu Flutter Web App
below my code that open a new tab in ...
0
votes
1
answer
1k
views
Flutter-web: How to clear console?
From Hide http status code warning at chrome developer console, does the flutter-web has a way to clean the console?
1
vote
1
answer
135
views
How to simulate the behaviour when the user loads the app from the URL in the browser's address bar
I'm writing a Flutter web application and I want to write a test on the behavior when the user loads the app when he types the URL in the browser's address bar.
For example I would like my test to ...
0
votes
1
answer
1k
views
SharedPreferences automatically get cleared when browser closed for flutter web
SharedPreferences is automatically cleared when browser is closed for flutter web.
There is no problem when flutter web is reloaded but the problem comes when closing the browser and again when ...
1
vote
0
answers
249
views
How to integrate third party payment integration in flutter web
I want to integrate payment gateway in flutter web. Payment UI is loaded on flutter web but problem is how i get callbacks from this in flutter web.
1
vote
1
answer
302
views
Grey screen in Opera only using flutter web
Used flutter to build a web app, but I keep getting a grey screen in Opera. I know that this can happen with flutter if there is a UI error, but the website is working perfectly fine in Chrome, IE, ...
5
votes
1
answer
2k
views
Drag and drop file on Flutter web is not working properly
Works when url project run on browser manually
As shown below
Not works when project run from
vscode (start debugging or Run without debugging)
or
> flutter run -d chrome --web-renderer canvaskit
...
0
votes
0
answers
1k
views
Facing issues while debugging Flutter (3.0.3) Web issues during development
We recently started converting our flutter app to web with Flutter 3.0.3 (Dart 2.17.5 • DevTools 2.12.2).
We are facing following errors while executing the web on chrome,
Error: Unexpected null ...
0
votes
2
answers
1k
views
How to send a List of images as bytes from multipart post method in flutter web
I have a List of images as bytes and I would like to send it as a post request in flutter web.
Firstly how do I send the data in file format just like image picker for android/iOS in flutter web
...
0
votes
1
answer
824
views
How to injest javascript in
I'm working on a Flutter web project. The web/index.html file is injecting a JavaScript script which could be simplified as:
<script>
window['dataLayer'] = [];
</script>
So in my ...
1
vote
1
answer
607
views
Mock JS object in tests on browser platform
I have this simplified dart file using dart:js:
(dataLayer is used for Google tags, if that's any help)
@JS()
import 'package:js/js.dart';
@JS('dataLayer.push')
external void _push(data);
class ...
32
votes
1
answer
17k
views
Add firefox as device when running flutter web
I want to add Firefox as my default browser when running flutter for web (chrome has errors with some packages). I've done this before on Ubuntu 20.4 but I've switched to arch and I can't remember how ...
0
votes
1
answer
543
views
Download file from download button, save to download folder on the local system
I am working in flutter web automation as fresher.
I download the file from Download button present on the web. And downlaoded file by default download in PDF format.
I just need to verify the ...
0
votes
1
answer
800
views
Flutter Web resize browser-window leads to a defunct context
I made a web-app with flutter and there are bar-charts. I want to refresh them if the screen size changes. This works fine if I switch between the browser window option "shrink" and "...
1
vote
0
answers
562
views
flutter app works on iOS and Android but not web
I have an app which compile flawlessly on iOS and Android, but when I try to compile for web and run it on chrome, I get the following error:
Error: Expected a value of type 'String', but got one of ...
3
votes
0
answers
502
views
Create nested menu like web in flutter
I am working on a website using flutter.I want to provide Menu functionality like web provide when user hover mouse on menu in header bar show the options to select like showing in the above image.
Is ...
2
votes
0
answers
434
views
Flutter web: Chrome back button not enabled when launched directly by clicking link or by any IDE
Back button is not enabled in chrome. So when navigate to next screen then i don't have any option to come back to previous screen. The issue occurs for below cases
Launch any flutter web application ...
1
vote
1
answer
417
views
Flutter web PaintImage() on Mobile Browser error
I am trying to get Canvas painted image. It works on web and phone. But when I test it on Mobile Browser the PaintImage() or canvas.drawImage() doesn't work and have error. When I remove PaintImage() ...
3
votes
0
answers
158
views
Flutter: whole app shifted up on linux chrome
I've written a Flutter web app that works great on every device I've tested except on Linux Chrome. The app is really slow and laggy and is shifted up half out of the window. But the InkWells or ...
1
vote
0
answers
205
views
Is it possible to keep our flutter application awake when it has opened a page with Flutter Web Browser (In App Browser)?
I've an application in which I need to open some Interactive HTML5 content pages in flutter_web_browser. The feature works fine, but now I've requirement of stopping devices from going to sleep on ...