Category "flutter"

How to customize the hard wrap vertical line in Android Studio IDE for code formatting

When I apply "Format code" my lines of code automatically down line (many lines) even though my screen has enough space to display it on 1 line. I see it depen

The function can't be unconditionally invoked because it can be 'null' error shown while trying to get current user info from firebase Auth

Trying to get current user info after creating a new user but getting this error " The function can't be unconditionally invoked because it can be 'null' " whi

Why is my `flutter_webrtc` peer connection always failing?

I'm stuck in establishing a WebRTC connection. I've successfully established WebRTC connections on several web applications using this signaling flow but I'm st

Take Multiple Picture Using Flutter Camera Plugin

I'm trying to take multiple photos using the camera plugin, am doing that inside a loop and I keep getting the error below: CameraException (CameraException(Pre

onPressed from MaterialButton were trigged when the page from initialRoute

There're two buttons from my WelcomeScreen, when this page is loaded, two buttons will be pressed automatically. two buttons were used by the external widget"Ro

Flutter WebView only gets content the first time

I have a WebView where I parse the Site-content after the user presses a Button. If loading the site for the first time (initUrl), I get all the correct data. H

How to execute dart generated javascript from dart

I have this dart script that I compiled to javascript. How do I go about calling this javascript from dart? I'm trying to eventually call this from a web worker

Displays the same cart-quantity and total price

I am having issue with the cart notification panel as it displays the product-quantity and price of the previous user and is not updated even after i add produc

I want to implement only face authentication in flutter

In my application, I want to add a face unlock feature to unlock my application. but as I used local_auth package it takes both figure and face. Like, If the us

Flutter local caching when app is background

I have a background service listening socketio and showing me notification. I wanna cache to local that i take from socketio but packages dont support caching w

Nested Json Serialise with Custom Class

I have a JSON data from the server from which I want to add specific JSON data to another class but maintaining its instance in the parent class Json data from

Kurdish is currently available in Google Translate, but has not yet been added to the flutter_localization

Kurdish is currently available in Google Translate , but has not yet been added to the flutter_localization package! How can I add Kurdish language ? Because we

TypeError when converting firebase data snapshot to map

I am currently following a Flutter tutorial and the instruction states that I retrieve data from Firestore and convert to a map, the tutorial uses the code belo

Search value in list

I want to search value in list: String search = 'blue Table15'; List list = [ {"Label": "blue Table 15", "V

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

How to solve flutter Execution failed for task ':twitter_login:compileReleaseKotlin' error?

I am trying to build an apk from my flutter application. I am using the algolia native api and modified my FlutterActivity according to this official documentat

Rename image that has been picked by imagepicker for flutter

I would like to rename the file that i already pick from my gallery by image picker, i already try the below method using renameAsync String dir = path.dirname(

how to change prettier format for react native

my code formatting prettier didn't works well for react native, i don't understand where to config it but it works well with flutter from this code import

Pressing Scaffold's back button:Looking up a deactivated widget's ancestor is unsafe

I get the following error when I hit scaffold's back button: The following assertion was thrown while finalizing the widget tree: Looking up a deactivated widge

Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'HomeBloc'

so i do get this error : Unhandled Exception: Unhandled error LateInitializationError: Field 'currentUser' has not been initialized. occurred in Instance of 'Ho