Category "flutter"

Is there a way to auto-format flutter with vscode?

I was wondering if there is a library like Eslint for Flutter/Dart that will automatically insert semicolons and trailing commas when I save the file. FLutter V

What assert do in dart?

I just want to know what's the use of assert in a Dart. I was tried to figure it out by myself but I'm not able to do that. It would be great if someone explain

SHA1 SHA256 command

So I created an android app from the while running the "keytool" command from the "Authenticating your client" site for firebase on the project folder, I get th

Flutter ListView resetting to top of list

I'm working on an app that gets the user to take a list of measurements. I use ListView to display a list of measurements. When the the user clicks on a list it

current route name is null on Flutter

Always getting null when I try to find current page. How do I get current page? print('current page ${ModalRoute.of(context).settings.name}'); my end goal is,

error in implementing search feature in Listview builder

I'm trying to implement search functionality in the list view builder But I don't have an idea to implement it. this is model class class Contacts { String? i

Flutter app show White screen in release app mode?

I am facing very strange issue in flutter app! When test my app in debug mode its working fine while in release mode it shows the white screen. This app is alre

Flutter WebView plugin unable to play some YouTube videos

The webview_flutter plugin is unable to play some YouTube embed videos that do work if played from within a web app. The videos display "Video unavailable". Pla

The parameter can't have a value of 'null' because of its type in Dart

Dart function I have the following Dart function and I am now using null safety: void calculate({int factor}) { // ... } The analyzer complains that: The pa

How do I compare two app versions in flutter?

I was trying to compare two different app version in flutter, But I am not able to assign , App versions in a variable. var a = 1.0.0; var b = 1.0.1; But the v

No MaterialLocalizations found - MyApp widgets require MaterialLocalizations to be provided by a Localizations widget ancestor

I was just trying to create an app with button which shows an alert message when the button is pressed. But it gives me this error(Mentioned below). I wrote

GetX flutter state is not being updated

I am new to flutter. I just started using GetX flutter package. I am working on a ToDo list app. I am having trouble updating the widget state. What I have done

Execution failed for task ':stripe_android:compileDebugKotlin'

I am facing this issue while integrating stripe payment in my app. I am using kotlin version 1.6.10 and also having minimum SDK version 21. Error is showing tha

Firestore asks me create the index that is already exist

I'm trying to paginate comments. The first 10 comments is loading ok, but next ones (when query contains startAfterDocument) return error like: Query(comments

Error: The argument type 'Null Function(DateTime, List<dynamic>)' can't be assigned to the parameter

I am facing the same issue with this Error: The argument type 'Null Function(DateTime, List<dynamic>)' can't be assigned to the pa

How to keep Flutter app running on lock/sleep screen (geolocator and timer builder)?

I have a screen on my app that tracks the location (geolocator) and time with (timer_builder) when the user hits start button. When the screen locks/sleeps, it

flutter web on GitHub Pages not showing content

I am trying to release my existing flutter project on the web (it already is working on iOS and android). According to this great article: How to embed your Flu

I am using "jitsi meet" in Flutter. I want to get rid of the menu tabs on the call screen

I want to hide this part.Please tell me how to do that. I've added the code for "featureFlags" below the image, and I wrote the code for "var options = JitsiMee

Get.to(MyPage()) - How to remove all previous routes - Flutter GetX

I have a simple Flutter app and I want to remove all previous routes but I want to do with GetX, How to do that? Now it works with Navigator.of(context).pushNam

how to invoke parent component AppBar back in Flutter

I am a newbie in Flutter, today I encount a problem. I want to back to my app's list main page when user using right gustures in screen. Now I could recognize t