flutter custom paint road path
i have this code in flutter , iam using a custom paint to draw a "road like" and the path is done but when i draw circles inside it this happens : and here is what i want : and…
i have this code in flutter , iam using a custom paint to draw a "road like" and the path is done but when i draw circles inside it this happens : and here is what i want : and…
In my Flutter app, there is a custom drawer that is accessed through a button. In this drawer, there is a widget (InfoCard) that displays some of the user's information. However, in this widget, there is a FutureBuilder, so every…
My app has a feature where users can add their reviews. For example, it's like leaving a comment on Facebook. posting a user review should be stored in the reviews list. I think it can't be done this way .doc(DocId).update(review.toJson()).…
I want to generate apk in vs code by command flutter build apk, So : I install Android Studio and Android SDK in path C:Android_SDK. I execute command flutter config --android-sdk "c:Android_SDK" in vscode terminal I Restart vscode. I defined…
I have a container and this container have a row with a text and a button , the button here show a modal bottom sheet , and Inside it I want to make My segmented button so the user choose…
How can I set the day of the week I need for the date? Using DateTime or Jiffy? It is also possible to use another library if you cannot use these. For example, on Kotlin with Joda DateTime, I can…
I'm starting to get pretty frustrated with Dart's async ... All I want is lazily load some value and assign it to a property in my class: Future<String> getMeSomeBar() async => "bar"; class Foo { late String bar = await…
I updated my android, and then created new project. But, when I tried to run this application, it's just a default application - no packages imported or changes made, it throws an error: * What went wrong: The Android Gradle…
I'm encountering an issue with Cubit in Flutter. In my main.dart, I have initialized three providers: one for language, one for theme, and one for connectivity. Everything seems to be set up correctly, and I'm able to change the theme…
I want to show some popups in a fluttter project to get location and disable battery optimazation whenever I open the app. I tried and showed this popup using ElevatedButton. But as I want to show this popup at the…