Questions tagged [flutter-web-browser]

43 questions
1
vote
0 answers

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 these pages. I already tried solution mentioned over…
Imran Zahoor
  • 2,521
  • 1
  • 28
  • 38
0
votes
1 answer

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 should take user to PageC which has another…
saintjab
  • 1,626
  • 20
  • 31
0
votes
0 answers

Flutter Web - How to prevent iframe redirecting parent window?

Below is the code I using for iframe final widget = LayoutBuilder( builder: (context, constraints) { final iframe = IFrameElement() ..width = constraints.maxWidth.toString() ..height = constraints.maxHeight.toString() ..src =…
ramen87x
  • 160
  • 3
  • 18
0
votes
1 answer

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 the entire screen. I'm trying to figure out how…
0
votes
0 answers

how to make timers for flutter web apps, which can run in the background on browsers?

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 have multiple browser windows open. The timer…
0
votes
0 answers

How to Render a Grid of Cards in flutter WEB , with Images on it . Like youtube

I am trying to make a grid of cards , that are containing images in it . I am not using Image.network() to load the images as it don't directly work in flutter web . So i am using a package called as image_network from pub dev . But doing this is…
0
votes
0 answers

How to set session ID in flutter web?

I am developing web application using flutter web, for server we are using spring, I need to implement login flow where captcha should be displayed which I receive from server as image, when user click on login button I am sending captcha answer and…
0
votes
0 answers

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-Bold.ttf - asset:…
0
votes
0 answers

Flutter web firebase hosting error to load main.dart.js

How to solve the flutter web firebase hosting error to load main.dart.js, please give me the solution. I created the first time to complete the work second-time updated the project to show errors like image and not run. any solution to give me This…
0
votes
1 answer

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 window using customTabsOptions…
0
votes
0 answers

Content full access token is visible with browser dev tool for Flutter Web app

When opening the Web App, contentful access token is visible with browser dev tools. It means that someone can get all the content without login. This is a security issue. How to hide contentful access token in Flutter web?
Nithyashree B L
  • 157
  • 1
  • 2
  • 12
0
votes
3 answers

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? Thanks in advance! void main() => runApp(const…
Priya
  • 67
  • 6
0
votes
1 answer

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('/flutter_service_worker.js'); it stuck on this line with the…
Shivam Singh
  • 9
  • 2
  • 5
0
votes
0 answers

Google Auth is not working in flutter webview

Tried to login in boat website via google through flutter webview, getting above issue everytime.
0
votes
0 answers

`flutter run -d chrome` always closes the chrome after render

I'm trying to see / develop the flutter app in Web. However, when I run: flutter run -d chrome It can start a chrome browser, and render the page properly; then it would just close, and the process just exit. I'm also trying: ➜ slide_puzzle…
songyy
  • 4,323
  • 6
  • 41
  • 63