Category "flutter"

How To Copy text from a flutter button class while adding additional texts to clipboard?

ive created a custom button that I use in multiple places in my flutter app. and I've also used the toast package to copy and show text anytime the button is cl

Test API calls in Bloc in Flutter

Im first time trying to write Tests for Bloc, Here I face the problem that is : NoSuchMethodError: The method 'fetchPlayerToLogin' was called on null. Receiver:

Flutter Quill Editor Follow Typing Text

We have created a notes app, and have implemented Flutter Quill as our Text Editor. The issue we are facing is that as the user types, the screen doesn't follow

How to Fix The method '>=' was called on null. Receiver: null Tried calling: >=(25) in dart flutter

Guys, I am trying to create a BMI calculator app. everything is working fine but I am getting an error which is shown below while passing data in the condition

Flutter FCM: Storing Notification Data while the app is in the Background/Closed

I am trying to store data received via FCM inside a class in order to navigate to a specific tab of my app after a user clicks on that notification. My problem

CocoaPods not installed. Skipping pod install

My app was working fine until I did 2 small changes. On Target runner in Xcode I enabled bitcode for the project. I update the Android studio to the latest vers

I get this error after the installation of kommunicate chat bot in the app

FAILURE: Build failed with an exception. What went wrong: Execution failed for task ':app:processDebugMainManifest'. Manifest merger failed : Attribute applica

How to send data through patch request in flutter

I am facing issue in sending the below data as a patch request. The issue I am facing is I am not able to pass the Detail object data within another object(AddP

The method 'copy' isn't defined for the type 'PickedFile'

After i upgraded Flutter i followed all the steps for migration code and now i get this error, can't use to .Copy. class ImageInput extends StatefulWidget { f

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