Flutter-Web: Mouse hover -> Change cursor to pointer

UPDATE (2021/05/11): Flutter now natively has Hover Events implemented Widgets. There is a MouseCursor for Widgets like RaisedButton and properties like hoverColor or...

"NoSuchMethodError: tried to call a non-function, such as null: 'dart.global.firebase.auth'" when initializing auth() in flutter for web

I'm trying to implement sign-in function with Firebase Authentication in Flutter for Web app. I can already use Firestore to store/ extract data in the same app without signing-in. When executing...

Any way to add Google Maps in Flutter for Web?

I am exploring flutter-web and want to add google map in it. Although, I have used google map using google_maps_flutter in flutter-app but that works for Android and iOS.

Flutter web app progress indicator before loading app?

Hi I am a mobile app developer and not much familiar with web development, I was finding any approach to implement Progress Indicator before loading the flutter web app like Gmail loading screen....

Flutter best way for splash / loading screen

I have a flutter app connected to firebase (firestore). When the user opens the app, I check if he's a user type 1 or user type 2. + load images from the web etc. But it takes maybe a second to do...

Is there a number input field in flutter with increment/decrement buttons attached to the field?

I am trying to create a number input field with and up and down arrow button to increment and decrement its value. I am wondering if there is any inbuilt widget which already provides this...

I am unable to build my flutter web project

When trying to run flutter build web i get "build web" is not currently supported. I had previous errors where i was stuck with Dart 2.5.0-dev.4.0.flutter-be66176534 and required 2.5.0 or higher,...

Unsupported operation: Platform._operatingSystem

My flutter code isn't running on web. I found that "bool kisweb" can be used to detect the platform. But my code is failing at "FirebaseAuth.instance". Does this mean I can't use Firebaseauth on...

How to get Flutter ScrollController to save position of ListView.builder() when changing tabs?

I have made a simple example with 2 tabs, each containing a ListView builder. My goal is to be able to scroll in the first list view, switch to the 2nd tab, and then switch back to the first and...

Failed to register a ServiceWorker (Flutter)

I'm working on a Flutter Web App and today I got these errors: A bad HTTP response code (404) was received when fetching the script. Uncaught (in promise) TypeError: Failed to register...

How to set up CORS or OPTIONS for Rocket.rs

I've got a backend running rocket.rs which my flutter web app sends a request to, but it can't get past the OPTIONS response. I have tried adding CORS (rocket_cors) to the backend and having a...

How to catch OAuth2 token in Flutter Web?

This dependency supposedly supports web, but the implementation to listen for the callback and retrieve the token is missing. After digging around for the last three days, a few people suggested...

Error uploading a photo to Firebase storage with Flutter Web using Pickers

I read that Firebase storage is now compatible with Flutter web. I have this code with which I'm able to upload photos with my android version, but I keep getting this error in web. putfile()...

WebView in ios open as desktop mode Flutter

I use WebView to open a site, site is using responsive design. On Android the site fills the page and work correctly Android Image My Problem in IOS it appears as it open in desktop not in mobile...

flutter_inappwebview and flutter_downloader - not sure what I'm doing wrong?

Upfront info: Language: Flutter/Dart Flutter Packages: flutter_inappwebview, flutter_downloader I'm having an issue with a mobile application I'm building for Android using Flutter. One function...

Flutter 2: problem in Intl null safety library

I upgrade my flutter sdk to flutter 2.0.0. After updating sdk I have changed almost all libraries to null safety version: environment: sdk: '>=2.12.0 <3.0.0' dependencies: flutter: sdk:...

Docker and Flutter Web hot reload

I'm trying to web development environment with Flutter in docker with docker compose. *I stuck with a hot reload for Flutter, is there any way to make it work? (except installing VSCode on...

Flutter Web Sign in with Apple returning unknown exception

I am trying to implement Sign in with Apple for my Flutter web-only project. I have thoroughly followed the instructions for the web implementation in the FlutterFire documentation...

Pub failed to delete entry because it was in use by another process

I was trying to configure my Flutter project to work on the web. I switched to the master channel using flutter channel master after doing this I tried to run flutter upgrade. I am now getting an...

Flutter Error: Execution failed for task ':app:compileFlutterBuildDebug

I reinstall my flutter and trying to load my app again, but I am having trouble loading it up. I have tried for three days, even reinstalling my window and all program again, but I did not have...

How to connect Google Analytics in a Flutter Web App?

I'm trying to use the Google API Package (Pub Dev) but with no lucky to undestand how to connect it in my Flutter Project.

How to update version of a Flutter Web deployed in Firebase Hosting

In older versions of Flutter, the web/index.html file was built with a script inside that calls main.dart.js but this script was removed in newer versions and I used to add a "version" attribute...

Flutter - Warning (CocoaPods not installed Skipping pod install) Even While Installed

I am trying to build a Flutter app with Geolocator plugin on Android Studio. When I am running the app I have the following warning - that prevents the app from running: Warning: CocoaPods not...

Warning: Mapping new ns to old ns and emulator stopping abruptly

After upgrading to Arctic Fox , I am getting the following errors, even though the emulator is running but sometimes stopping abruptly. What is this error ? How can I get rid of this ? I am...

The argument type 'UserModel? Function(User)' can't be assigned to the parameter type 'UserModel Function(User?)'

Error : I am getting below error in Stream while mapping The argument type 'UserModel? Function(User)' can't be assigned to the parameter type 'UserModel Function(User?)' The code and the...

Flutter web - Always show horizontal and vertical scrollbar in a DataTable

I have a DataTable and I'm trying to make it always show the horizontal and vertical scrollbars. I managed to always show the vertical scrollbar, but the horizontal scrollbar only shows when I...

firebase_crashlytics was resolved to 2.2.1, which depends on Firebase/Crashlytics (= 8.6.0)

I'm getting an error trying to build a flutter app with crashlytics (but somehow builds successfully on codemagic) I did follow the official steps try to use this fix without success these are...

Is it possible to show links preview from Flutter web links?

I am thinking of developing an e-commerce app on flutter web, using Navigator 2.0, maybe beamer. I would like people to be able to share flutter web links and show previews on social networks. Is...

CMake error while running flutter desktop application

When I am trying to launch flutter desktop application, this error occurred to me: "CMake Error at CMakeLists.txt:2 (project): Generator Visual Studio 16 2019 could not find any instance of...

Flutter / Firebase project - Is `Unhandled Exception: Null check operator used on a null value` causing a blank screen?

I'm working on a flutter project with firebase. I'm currently developing on a MacBook, using a simulated iPhone (just in case this is relevant). I am able to run my app, but when doing so it's...