Category "flutter"

Couldn't resolve the package 'geolocator' in 'package:geolocator/geolocator.dart'

Install geolocator 8.0.0, everything is normal. But when I go to run the project I get all these errors, even though I import the library correctly. class Googl

The method "collection" isn't defined for the type FirebaseStorage

I'm getting an error trying to store data in firestore. Another issue is using my emulator in android studio ( pixel 5 ) or even all my 4 connected devices. I c

The method 'get' isn't defined for the type 'AppState'. pics with Flutter

Hello everyone. I was studying "Dart and Flutter: The Complete Developer's Guide" on Udemy. And this error showed up, I have no idea how to fix this error. Ever

Auto_route & build_runner disable NullSafety

I'm trying to use auto_route library with build_runner, but each time my build_runner generate my router.gr.dart file, it does generate code with null safety, w

Flutter - How to save recorded audio file?

I am using flutter_sound to record voice(audio). I can't see any file save on the emulator after the recording stops. Recorder class: import 'package:flutter/ma

How to Disable ReorderableListView Reorder capability but still allow scrolling?

How do we deactivate the ReorderableListView dragging/reordering capabilities in Flutter? I would like to disable the dragging function but still allow scrollin

The state of flutter bloc is not updating if called outside the bloc builder

I initialised all necessary blocs in my main file. Even after this, the state of bloc is not updating if called from outside the bloc builder. I am trying to im

FocusAttachment Is Not Working When Navigating Away and Back From Flutter Web

I have a Flutter app for web that checks if control is pressed, and is managed in my internal state. Using this answer I created the code to check if control is

How to open existing flutter project from Xcode?

I have an existing flutter project, which coded with VS Code. Now I want to open it from Xcode to do some configurations in Runner.xcworkspace. But it was unab

Can i use my oauth 2.0 client id created in my laravel website for flutter app in simultaneously?

I have an online store that I built by Bagisto, which depends on the Laravel platform and I created my oauth 2.0 client id in https://console.cloud.google.com/

How to delete a specific array element in firebase collection?

I have list of appointments stored in firebase collection, how can I delete a specific appointment ?

Page level scrolling per TabBarView with widgets on top

I would like to implement the following behavior in Flutter for web where scrollbars allow to scroll all the way up and down of the page on any of the tabs. Scr

How to pass dynamic data in highcharts using flutter?

I'm using highcharts library for my flutter application for different charts. And want to know how to pass dynamic data into chart data.

How do you use the new Flutter ScreenUtils with named Routes and Provider?

Right until version 5.1.0 (which were the ones we used) the package flutter_screenutil were using a simple concept of builder which asked a "Widget Function() B

How to update data and restart the timer on click?

I have data in the application and the exchange rate is updated by a timer every 5 seconds. How can I make it so that when a floatingButton is clicked, the data

How to refresh snapshot in flutter

I what to refresh home page so I create widget called RefreshWidget look like this import 'dart:io'; import 'package:flutter/cupertino.dart';

Flutter won't compile a release build of my app?

After working on this app I tried to build my app to iOS using the flutter run --release command. But whenever I do I get this error *Could not build the precom

I want to change my app name to S&S in flutter ios in info.plist but i am getting error

I want to use "&" in app name for ios. what's method . i want to change name in CFBundleName tag in info.plist file of flutter. i am getting error while com

Parse long String of coords into lat & longs Flutter

I receive a String of Lats & Longs from an API call in Json "lineStrings": [ "[[[-0.301457,51.515017],[-0.288265,51.51014],[-0.280462,51.503057],[-0

Bloc Concurrency with restartable transformer does not cancel previous event

Description Bloc Concurrency with restartable transformer does not cancel previous event Steps To Reproduce The bloc file merchant_product_bloc.dart that listen