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

No instance of S present in the widget tree. Did you add S.delegate in localizationsDelegates?

I am getting this above error whenever i am trying to route to another page in flutter. Following is my code onPressed: () { Navigator.push( context, MaterialPageRoute( builder: (context) => MyHomePage(), )); },
1
vote
1 answer

Named route isnt added to Domain || Flutter Web

So I set my routes up like this: I set my initial route: initialRoute: "/", & then my onGenerateRoutes: onGenerateRoute: (settings) { switch (settings.name) { case HomePage.route: int? selectedIndex = settings.arguments as…
Nikita
  • 477
  • 4
  • 14
1
vote
1 answer

How to run Flutter Web in Android native Webview application?

I am trying to display the flutter web application using Webview from the native Android. However the page is show the blank page. Here is the code: class MainActivity : AppCompatActivity() { private lateinit var webView: WebView override fun…
1
vote
0 answers

Browser page refresh button for flutter web

As far as I know that we can't access browser's refresh button click in flutter web or I am missing something. My flutter web project was created with flutter version 2.8 . I have done my research before posting here so any help would be amazing.
1
vote
2 answers

when i try to add more than 1 textbuttons to a single column It shows The named parameter 'child' is required, but there's no corresponding argument

import 'package:flutter/material.dart'; import 'package:audioplayers/audioplayers.dart'; void main() => runApp(const CustomXylophoneApp()); class CustomXylophoneApp extends StatelessWidget { const CustomXylophoneApp({Key? key}) : super(key:…
1
vote
0 answers

Slider Feature using flutter

I tried to recreate the sliding image feature on the website superlist.com using html and I found a tutorial that made it work. HTML

Sometimes a simple header is

1
vote
1 answer

How can I update a user's phone number in Firebase Auth with Flutter on web?

I'm using FirebaseAuth for user authentication, and I am currently trying to update a user's phone number on Flutter web. On mobile, I have the option to use verifyPhoneNumber followed by updatePhoneNumber. But on web no similar methods exist. How…
Martin Reindl
  • 989
  • 2
  • 15
  • 33
1
vote
1 answer

How to close PopupMenuButton when I move cursor from the button in Flutter?

I build this code below that makes possible to show my Popupmenubuttons Items when I put the cursor over the button without clicking the button. But there is a problem. I can show my items with this method but I can not make possible to close my…
1
vote
1 answer

How to fix TextOverflow strange symbol?

If text overflowed, after 3 dots rendered strange symbol. How to solve that? Text( 'Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title Title…
voselo
  • 61
  • 4
1
vote
1 answer

Tab key doesn't switch fields correctly (Flutter Web)

I have a question. I have an application with various forms with textfields. In each form i noted that when i use tab button to switch fields, focus disappear from the fields and goes i dont know where. I tried to use Focus widget to see if on tab…
CesareIsHere
  • 123
  • 1
  • 10
1
vote
2 answers

Problem with Scroll View inside a Layout Builder flutter

The problem is the following, I built my layout with a Layout Builder, inside it I check the screen size in width and define if it is a mobile device or a desktop/web, then I display the following layout >>>> So far so good, but under the text 'a…
1
vote
1 answer

How to expand the bottom of a card on mouse hover? Flutter Web

I have card with image file and text where I want to do hover effect. I just want to display more information of product on mouse hover like image below. Card is overlaying the other card. How can I achieve this? Please help. Flutter Web
user14805610
  • 79
  • 2
  • 13
1
vote
1 answer

Error: FormatException: Unexpected extension byte (at offset 0) in Flutter Web

I've been struggling with this error for past few days, and I can't seem to find any useful answers online, so any help would be much appreciated! I'm working with Flutter Web, and I am using universal_io package due to dart:io not being supported…
Nik Grmek
  • 31
  • 2
1
vote
0 answers

I switched from debugging my flutter Web app from an actual device to chrome and now everything's broken and wont run

I have been debugging my flutter Web app on an actual android device for some time and it has been going well, its actually a web app, and i found it easier to test it on my phone then build it and deploy it using firebase hosting, the moment i…
mac
  • 211
  • 3
  • 8
1
vote
0 answers

Flutter Web + Firebase: [firebase_auth/argument-error]

I have a Flutter App that I'm simply building to web. I use pretty much the whole suite of Firebase tools. What happens is that whenever I try to call the any signIn method e.g. signInAnonymously or signInWithEmailAndPassword, I get an…
1 2 3
99
100