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
0 answers

Parse Arguments from URL for Flutter Web App

My Use Case: Users in my app can create lists of items. I want the users to be able to share a link to one of their lists. I want individuals who click the shared link to see the list of items in a web browser and not need the app installed. I…
Ten Digit Grid
  • 1,315
  • 4
  • 22
  • 43
1
vote
0 answers

Flutter flow Json search using Local state

facing a issue for adding a search element in flutter flow for Json search (for a list) can anyone with the flutter flow has experienced it and what things i need to get that configuration. tried to connect various methords for the integration of…
Pushkar
  • 11
  • 1
1
vote
1 answer

Change cursor to Pointer in TableCalendar for flutter web

I used table_calendar: ^3.0.8 for the calendar in my flutter web application. But when we click on a date instead of the pointer it shows the cursor. Is it possible to change the cursor to a pointer? Table calendar code TableCalendar( …
1
vote
1 answer

How to check if my Flutter Web app is currently running?

I am building a chat app in Flutter Web, and would like to add a feature for flagging when the user is "Online". I want to send a bool to Firebase Firestore whenever the user launches and closes the app (for example, when the user launches the…
F.SO7
  • 695
  • 1
  • 13
  • 37
1
vote
0 answers

Convert text file like pdf to audio

Is it possible to create a program that converts a text file like pdf to audio with flutter I can write text and turn it into sound, but the problem is that I want to recover the file from storage in any format and to convert it within the program…
1
vote
0 answers

How to Implement Flutter Web SSL Certificate (SSL Pinning)

I am building a flutter web app and I need to use SSL to talk to the server using a .pem certificate. I am using HttpClient and IOClient to get it to work and the code for this looks as following: fetchData()async{ HttpClient _client =…
codemoonger
  • 613
  • 3
  • 11
  • 22
1
vote
1 answer

can I use bool as path parameter (PathParam) using auto route in flutter, and if so, how?

I have a payment confirmation route that takes a path parameter of true or false (true when payment was successful and false when unsuccessful). my app should work on both web and mobile. I have used auto_route package for routing and I have defined…
Kimiya Zargari
  • 324
  • 1
  • 14
1
vote
1 answer

Set max width of card in flutter?

I am trying to set the max width of a card in flutter but it seems to keep expanding. I tried placing the Card in a constrainedBox and then tried setting the max width but the card keeps filling out the entire width of the screen which looks…
Ten Digit Grid
  • 1,315
  • 4
  • 22
  • 43
1
vote
0 answers

Speed up initial load time for flutter web

Does anyone have any unique resources to share on speeding up flutter web's initial load time? I've seen deferred loading (this is cross-platform and that is web-only so not a great option) and am building in release mode (with tree shaking) and the…
Matt Larsuma
  • 1,456
  • 4
  • 20
  • 52
1
vote
1 answer

State exists and rebuild widget again and again

I am working on a web app where I need to build a widget depending on a state. Now, I have different Cubits and they have different states. One is main Cubit, that is on the top widget or page. Then I have another cubit state that builds part of…
1
vote
1 answer

Got invalid request body when try to upload data through S3 presigned url in flutter

I am trying to upload an image using resigned URL .But I got Invalid argument(s): Invalid request body "[object File]".I tried with text also. I think issue is due to content type.But I don't know what content type is give for "Object…
Developer
  • 148
  • 8
1
vote
0 answers

Problem with firebase_core for flutter web app - Multiple firebase_core_web-2.0.1 methods not found errors

When I try to run my flutter app on chrome, it crashes. It happens only after I installed Firebase_core and runs fine on Android or iOS. I am trying to connect my flutter web app, to the same Firebase Cloud, as my other app. I have follewed the…
Timmophe
  • 11
  • 2
1
vote
0 answers

Flutter Web - Open new tab but keeping primary tab on focus

await launchUrl( uri, webOnlyWindowName: isNewTab ? '_blank' : '_self', ); with _blank launchUrl open new tab but it changes tab focus to new tab. How can I keep tab focus into existing tab not new tab.
1
vote
0 answers

how to send a message from html page to flutter using flutter_webview

I have a flutter application that contains a web page showing links fetched from the server using webview_flutter and webview_flutter_web , some times I need to get data from the webpage so that I change some behavior on my flutter menus and…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116
1
vote
1 answer

how to use WebView.platform = WebWebViewPlatform(); and WebView.platform = AndroidWebView(); in the same dart file

I have a flutter application that needs to use webview in both the Android/Ios version and the Web version. Essinatly to do this we need a code that separates the calls for every platform, and here is how I did it : if (kIsWeb) { WebView.platform…
Ahmed Wagdi
  • 3,913
  • 10
  • 50
  • 116