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

Flutter web resizing triggering bloc event?

Whenever i resize my chrome browser it emits an event to add a new "variant" to my column, i have no idea what it could be triggering it. I know its triggering the on add variant event but i have no clue why its triggering when resizing, or zooming…
Arisbor
  • 65
  • 6
1
vote
1 answer

Routes that are not home route doesn't work when I host the web app

I have built a web app using flutter with GetX State management, the app was working good, but when I hosted it on the internet all the routes doesn't work except the home route, I am using GetX Routing system but I don't what is actually the…
SomaAz
  • 31
  • 1
  • 6
1
vote
0 answers

Flutter, Firebase Authentication, and Django Rest Framework - Can I use Firebase auth on the client for various authorizations?

The question is the tech stack I'm using for a Flutter Web App. I've already made a firebase authentication class on django and the two are working great so far. My question is if it's necessary for me to use Django's permissions. For example, the…
1
vote
1 answer

How can I add pages to a flutter listview builder?

Instead of infinite scrolling in a Listview.builder. I want to be able to see x amount of items in my ListView and then going on to the next page should show the next x amount of items. What I have so far is just a standard…
1
vote
2 answers

Change cursor to Hand icon when hover over the menu item in popup

I need to show handicon when hover over the menu items.I tried with SystemMouseCursors.click but it didn't works.It still show cursor void showPopUpMenuAtTap(BuildContext context, TapDownDetails details,controller) { showMenu( context:…
Developer
  • 148
  • 8
1
vote
0 answers

Text isn't rendering on phones when using CanvasKit on Flutter Web

I build the Flutter Web app with canvaskit using flutter build web --web-renderer canvaskit command. However the text isn't rendering properly on some Android phones (e.g. OnePlus 5) using Chrome. This is the expected result: This is the actual…
Karp
  • 431
  • 1
  • 6
  • 16
1
vote
0 answers

Impossible to implement insert image button in FlutterQuill quill_toobar in ChromeWeb?

I can't implement insert image from url with Quill. Some errors are capture by me: import 'dart:convert'; import 'dart:io'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import…
1
vote
1 answer

After deploying on firebase flutter web project showing white blank page

import 'package:flutter/material.dart'; import 'package:flutter_application_1/homepage.dart'; void main() { runApp(const MyApp()); } class MyApp extends StatelessWidget { const MyApp({super.key}); // This widget is the…
1
vote
0 answers

Publish with new update

I created a project in Flutter Web + Lazy Loading. After updating project I'm running: Flutter Build Web Then I put the project in the service of Vercel. When I access the site I noticed that it is not downloading the new updates and generating…
1
vote
0 answers

Flutter Web and Firebase with Multi Environment

I started a Flutter Web project and used Firebase Auth, Firestore, Hosting, Functions and Storage. I have two different Firebase project for this app; one of them is for development, the other of them is for product. How can I manage this…
1
vote
0 answers

In flutter web html version widget to image or screenshot is not working properly [Flutter 3] [ClipPath]

Flutter has a way to convert any widget to an image by boundary?.toImage(). But it doesn't work on the flutter web HTML version. So I am using a JS library html2canvas to take snapshots of widget. This is the js function used on the native…
1
vote
1 answer

I have a problem with BottomNavigationBar

When I connect the application to the phone, I run it, and this appears It also appears in the DEBUG CONSOLE list, which is in blue and does not stop counting Exception has occurred. _AssertionError…
1
vote
0 answers

Flutter web font scaling

[example] 1As far as i can understand the issue, strings outgrow the Text widget when increasing zoom on browser. The issue comes in all browsers except Google Chrome. In case of Google Chrome page just ignores zoom. What would be the workaround if…
1
vote
1 answer

How to change flutter WEB urls programmatically?

so I have the following routes defined in my main.dart file: routes: { '/sign-in': (context) => BlocProvider( lazy: false, create: (_) => AuthCubit(), child: const LandingPage(), ),…
F7085
  • 49
  • 3
1
vote
1 answer

how to convert my file size to mb, kb, gb etc in flutter

i want to get size of file after getting file from storage here is my code to get size trailing: FutureBuilder( builder: (context, snapshot) { return Text(snapshot.data.toString()); …