Questions tagged [flutter-web]

Questions related to Flutter for web support – currently (as of January 2021) is available on the beta channel. Flutter supports the generation of web content rendered using standards-based web technologies: HTML, CSS and JavaScript. With web support, you can compile existing Flutter code written in Dart into a client experience that can be embedded in the browser and deployed to any web server.

Flutter for web is a code-compatible implementation of Flutter that is rendered using standards-based web technologies: HTML, CSS and JavaScript. With web support, you can compile existing Flutter code written in Dart into a client experience that can be embedded in the browser and deployed to any web server.

4374 questions
1
vote
1 answer

Supabase return invalid json in response Flutter

I m new in Supabase when I try to fetch my table data so the return in response is invalid JSON. how to convert it ? Supabase calling method code is: try { var response = await SupabaseCredentials.supabaseClient .from("emp_table") …
1
vote
0 answers

“impellerc” can’t be opened because Apple cannot check it for malicious software

When I open visual code and execute flutter project it give me this error what can i do next any solution for this error. enter image description here I am trying to run the project.
1
vote
1 answer

Flutter Web - Getting flutter_ is not defined after publishing github pages

I just build a flutter web project. I hosted it on github pages. After successfully from creating repository to deploying project I am getting this following error... (index):46 Uncaught ReferenceError: _flutter is not defined I don't understand…
1
vote
0 answers

Flutter image picker not working on web release mode

I have a function to pick images in my webapp using the image_picker package, The code works when on localhost but once the webapp is live it wont allow image picker function to work, how can I fix this? My code looks like this. Future
godopetza
  • 67
  • 1
  • 8
1
vote
1 answer

I get an (Undefined name 'context'. )Error when i use Navigator.pop(context, {Map}) to pop some info onto a page in flutter

I'm following along on a flutter "World Clock" project, As I'm new to the flutter eco system i occasionally encounter errors. Here's the way the logic is set up across the project. The "Home" page pulls data from a "Loading" page that initializes…
1
vote
0 answers

How to host Flutter Webapp on a subfolder?

I'm trying to host a webApp inside a subfolder of my host. I uploaded all the contents of the build/web folder, but in the console I get the error: how can i set url of my subfolder? { "name": "pagamento", "short_name": "pagamento", "start_url":…
Maurizio Mancini
  • 271
  • 4
  • 13
1
vote
0 answers

Unimplemented error thrown in webview_flutter in flutter web

I need to load a webview from dynamic URL in flutter web for that I am using webview_flutter: ^4.0.1.In sometimes I got , Error: UnimplementedError at Object.throw_ [as throw] (http://localhost:40977/dart_sdk.js:5080:11) at…
Developer
  • 148
  • 8
1
vote
0 answers

Embed ReactJS into Flutter

Background: We have a ReactJS Web app. We are planning to move to Flutter when expanding the app with more new features. Question 1: What is the best way to embed the existing ReactJS web into Flutter Web without rewrite ReactJS code in…
Cupid Chan
  • 496
  • 4
  • 15
1
vote
3 answers

how to play video from video path in flutter

I get a list of video files now I want to play the video using path, for example, video path is 'storage/emulated/0/vedio1.mp4'. how can I play it? now.
1
vote
1 answer

GoRouter | Extra is cleared on hot reload

Let's say I have a route defined as the following: GoRoute( path: Screen.classDetail.path, builder: (context, state) => AdminClassScreen( classItem: state.extra as Class, ), ), and I navigate to it…
Michael Jajou
  • 312
  • 2
  • 13
1
vote
2 answers

Displaying the data from the firebase in list that if I pressed on one of its item it takes me to a full data page

I'm using flutter web in my graduation project and saving my data in the firebase so I'm displaying my data by the following code StreamBuilder ( stream: FirebaseFirestore.instance.collection('Guests').snapshots(), builder:…
1
vote
0 answers

How to Handle the Back and Foward Buttons of the Web browser on flutter Web

I am working on a flutter web project and I am using AutoRoute ( https://pub.dev/packages/auto_route) for my routing. I am facing this challenge, trying to handle the use of the browser Back and Forward arrow buttons. A scenario is : After login…
Fuse Koda
  • 13
  • 4
1
vote
1 answer

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 the problem that I can navigate to a domain:…
Nikita
  • 477
  • 4
  • 14
1
vote
1 answer

flutter web why is there a hashtag in the url?

I want to know why is there a hashtag in the URL? for the Flutter web app, eg: http://localhost:64392/#/home even in production same result. I want to know why and also if possible to remove it?
lordyhas
  • 360
  • 1
  • 11
1
vote
0 answers

Devices are not supported by this Flutter project

Theres is a project made on flutter which i have to continue, it's my first time using flutter, basically i already downloaded the project from github and installed the dependencies as well, but when i try to run the project this message…