Category "flutter"

Flutter just_audio package how play audio from bytes

I'm using just_audio plugin and it has on description a feature: Read from byte stream. Basically when I put a file (from url) to play, I'm saving the bytes fro

Undefined class 'CurrentUser'

CurrentUser is undefine I am trying to figure out what has it changed to.If you know plz help It's says Could not find the correct Provider above this Screen Wi

Could you share with me information about [...] in Dart?

I've solved several solutions on Codewars and saw that one solution uses [...], I tried to google what it is, but google only finds how to create arrays (List a

Flutter Get package error no named parameter with the name 'useInheritedMediaQuery'

I got error after I added get package and implemented it to my controller. If I add final myController = Get.put(MyController()); I got this error, yes just one

Flutter : Apple Pay button isn't showing in real Device using pay Plugin

I want to use in app purchase, that's why I using Pay plugin in my flutter app. Everything is fine when I check it in my simulator but when I run it on real iPh

How to update a form after a field is changed

I've got a form and I want to re-do a calculation when the user finishes editing any of the fields. I thought onFieldSubmitted would do it but this never gets c

Flutter IconTheme won't apply

I have a simple flutter app that will switch theme on button pressed, while the overall theme is applied some that I had defined before doesn't seem to be appli

Hive generate adapter could not generate outputs

I am having issue generating the hive type adapter. But no such out put generated by the command line codes flutter packages pub run build_runner build --delete

Flutter User ColorFiltered to dark image with matrix

I want in flutter to user ColorFiltered, so i can make jpg image dark here is my code but i didn't get the right result, i don't understand matrix and how to ch

Way to disable background gesture/tap actions behind floating action button?

I am developing an app in flutter using the google_maps_flutter package. I listen for user taps on the screen and record the lat/lng of that press. However, I d

How can I create an animation for the bottom navigation bar in Flutter?

I have a bottom navigation bar with some tabs and I want to animate the icons of them when I switch page, without an external package. And I have one more quest

Flutter :- This AdWidget is already in the Widget tree. How to disable this exception. And what does it mean?

So I insert admob ads inside the List. And I added the functionality of infinity scroll inside the list view. So when the user scrolls to end of the list, new i

Using bottom navigation with individual Navigators but single AppBar

I am trying to create an app that has the following basic setup for navigation: tab1 -> subpage tab2 tab3 with a bottom navigation bar for switching between

Update Gradle in Flutter project

I have this project in Flutter, but I haven't been able to build an apk for a couple of weeks, because of the Gradle version. I've tried everything, but Flutter

library_private_types_in_public_api and StatefulWidget

After upgrade the linter to the new version (flutter_lints: 2.0.1) in my pubspec the linter enables this rule: library_private_types_in_public_api by default. I

TextFormField update input to 1 if user keys in 0 flutter

I am having a TextFormField as a child in Form like below Form(

Flutter tests - Having two Integration tests in a same group ()

I'm trying to run two tests in a same group in one test file. If I split them into two separate test files, they are working fine. But if I add them in a group,

Flutter is not finding android sdk

Whenever i run flutter doctor the following error comes [√] Flutter (Channel stable, 2.8.1, on Microsoft Windows [Version 10.0.22000.438], locale en-IN)

Environment variables in string.xml in Flutter

Is it possible to send environment variables to string.xml in flutter? How to do it?

Error: could not find the correct Provider<List<Parking>> above this ParkingList Widget

import 'package:flutter/material.dart'; import 'package:flutter_user_profile/home/parking_tile.dart'; import 'package:provider/provider.dart'; import 'parking_t