Category "flutter-web"

How to create an image from a widget in Flutter-web?

To display custom widgets on google maps google_maps_flutter I use a very convenient function that translates any Widget (including those containing images) int

Flutter app running on web failing with error:

**/C:/flutter/.pub-cache/hosted/pub.dartlang.org/firebase_messaging_web-2.2.8/lib/src/internals.dart:11:10: Error: Method not found: 'guardWebExceptions'. re

refresh data on home page using future builder on button click - flutter

i have an app with two screens, home and update page. The home page displays a list of items and the update page updates the items. I am having difficulties re

Dealing with API endpoints in flutter

I have started learning to code since a few days back, and am only familiar with HTML/CSS/JS, and basics of dart/flutter I am working on a Random quotes generat

Flutter Pull To Refresh

I've implemented this code to show a list of json data from a web url. I've tried to implement a simple pull to refresh, but nothing works. Flutter code is lon

How to connect external camera in flutter by Iowebsocketchannel ? Iowebsocketchannel isn't responding in the android emulator

I am new into flutter. Please help me find out why the android emulator isn't responding? I want to make an external camera (esp32-cam)as a client with a local

Upload image flutter web with dio formdata

I am trying using file_picker and dio packages to upload files as form data. This is for flutter web and it seems MultipartFile.fromFile is not accepted. What

Playing Vimeo videos in Flutter

I'm trying to play vimeo videos in flutter app using the video_player plugin but got no success, it's throwing bunch of errors. please help me how I might go a

Firebase keeps redirecting example.com/username to example.com/#/

I am trying to extract the username from the current URL example.com/username but firebase keeps directing it to example.com/#/ due to which username changes dy

flutter: Warning database has been locked for 0:00:10.000000. Make sure you always use the transaction object

import 'dart:io'; import 'package:path/path.dart'; import 'package:sqflite/sqflite.dart'; import 'package:path_provider/path_provider.dart'; import '../model/

flutter: Warning database has been locked for 0:00:10.000000. Make sure you always use the transaction object

import 'dart:io'; import 'package:path/path.dart'; import 'package:sqflite/sqflite.dart'; import 'package:path_provider/path_provider.dart'; import '../model/

XMLHttpRequest error in flutter web [Enabling CORS AWS API gateway]

Note: It turns out that this had nothing to do with flutter and everything to do with the fact that I had set the API gateway to a Lambda Proxy I am trying to h

How to animate images on mouse hover using Flutter for Web?

I am a JavaScript developer and I am new to Flutter. I just want to animate a set of images on mouse hover like this using Flutter for Web. It includes Scaling,

Dockerize flutter web project

I'm trying to dockerize my flutter web project. And an image was created and the site run perfectly just the pictures of my website are not found and not displa

How to debug or print in Flutter web?

I'm using Flutter 1.10.15 and Android Studio 3.5.1 for Flutter Web development and my big! problem is I can't debug and even I can't print something in console

Send data from another website to flutter

Is it possible send data from a website to flutter website and take data with GET or POST like PHP? In PHP we can take data with GET or POST. Let's say we are s

How to forbid navigating back to Login page after successful login?

I have a question. How to achieve this behavior using auto_route's AutoRedirectGuard: User opens Flutter app in browser but session expired and is redirected to

How to solve "Invalid image data" error in Flutter

I'm using SQLite for storing data locally. insert an image as a string and get them to show here is the error that occurs _Exception (Exception: Invalid image d

Paginated Data Table not filtering properly

I've created a Paginated Datatable in flutter and using GetX Obx(() => PaginatedDataTable( source: controller.data.value, columns: getColumns

blank page when I started web flutter debugging

looks like this : I have a problem when flutter web debugging. My launching project doesn't stop and displays a blank page.blank page like this : i try too we