Category "flutter"

How to get the index of each element in a list flutter?

I ran into a problem. I have a Checkbox in the value method, I need to specify _isChecked[index]. But I have an error on the word index. I understand why the er

Understanding Flutter and React Native [closed]

I am evaluating React Native and Flutter. I am not experienced in both of these frameworks and hence need some information which I did not fin

What is MaterialStateProperty<Color>?

What is MaterialStateProperty in ButtonStyle? ThemeData( textButtonTheme: TextButtonThemeData( style: ButtonStyle( backgroundColor: , //? ), )

Android Studio: An exception has occurred in the compiler (1.8.0_242-release)

While running app, unable to complete compilation. Keep throwing error. I installed jdk and added java_home path, but still get this error. Also, I havent any i

Notification channel 'basic_channel' does not exist., n.a.a.k.f.a:

As per flutter package I implemented code on my project but it threw exception while making build, "Notification channel 'call_channel' does not exist., n.a.a.k

D/InputConnectionAdaptor( 5956): The input method toggled cursor monitoring on

When I start the application on the Android emulator and try to use the virtual keybord, it immediately gets closed and I see the following message on DEBUG CON

Running multiple test case on Firebase Test Lab

I am trying to run my integration test on Firebase Test Lab. flutter build apk -t lib/main_dev.dart ./gradlew app:assembleAndroidTest -Ptarget=lib/main_dev.dart

Module was compiled with an incom patible version of Kotlin. The binary version of its metadata is 1.6.0, expected version is 1.4.0

My app compiles, but after looking into a few related questions like (Module Error "Module was compiled with an incompatible version of Kotlin. The binary versi

How To Display JSON Data in flutter Chart

I have tried to put JSON data in flutter chart, I used syncfusion_flutter_charts library but its not working and its only showing y axis point but not x axis po

How do you center two texts in containers inside a row widget?

How do you center two texts in containers inside a row widget?

Casting DatabaseEvent snapshot.value to a specific type in Flutter

I'm trying to retrieve data from a DatabaseEvent event type. The data I have on the database is this in this layout Basically some users id and each user has a

My flutter project broke and I get this gradle error

FAILURE: Build failed with an exception. * What went wrong: Could not create an instance of type org.gradle.invocation.DefaultGradle. > Could not configure

Flutter and Android Release Mode

How I can find out crash logs in release mode in a flutter. In the android studio, I am not able to get crash logs where the app is going to crash.

Flutter-What is the point of using bearer-token or something

I read something like this: 1-Once a user logs in, you can generate a token and store it in MySQL database and share the same token with the response of login A

Flutter and Aws RDS

I am new to flutter I want to work with AWS Rds as a backend with my flutter I searched in google but I only found is Aws Amplify Concept, So can I do with Aws

When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."

In my project, When adding a flutter dependencies in terminal, but it showing in terminal "Expected to find project root in current working directory."

Streambuilder from firebase firestore with advanced filtering

Based on new version of firebase dependencies in flutter, there is new filters such like isNotEqualTo, arrayContains, arrayContainsAny, whereIn and so on. I try

Flutter: SyntaxError: Unexpected token < in JSON at position 0

I need to fetch data from API but my try-catch fails with SyntaxError: Unexpected token < in JSON at position 0. Code: String problems; try {

How to hide actions from SliverAppBar when it's expanded?

I have a SliverAppBar with a background image and a list of actions, but I would like the actions to show only when the image disappears (when the SliverAppBar

Container margin not transparent

In my flutter project i have an AnimatedContainer which is my BottomAppBar. If i give it a margin to space it from the screen egdes the margin is not transparen