Category "dart"

bottom navigation bar: Navigate back to nav bar item from any screen in the app / Navigator.pushNamed instead of creating an object instance flutter

I would like to use Navigator.pushNamed(context, '/route-name'); instead of creating an object instance. I'm trying to get back to a single instance of the call

How can I spread a List in Dart?

Is there any way to unpack a list in dart? I want to do something similar to this python snippet: return proc(*args)

error running pod install error launching application on iphone11 Pro Max

I finished my flutter app, and i want to test it in ios device, so i used a mac laptop and i did all the installations but when i did the command "flutter run"

Flutter Alarm Manager Missing Plugin Exception

I'm having trouble setting up a daily task to complete certain functions. I've managed to get android_alarm_manager to work, I currently, have it set to print a

Use Url.http for GET query

In my browser it returns the correct json http://localhost:8008/api/instsets/?genre=rock Howeber in dart code final response = await http.get(Uri.http('localho

list of circle avatars that are on top of each other

I am working in a Flutter project and I have an issue. I have a list of people and I wanna show their pictures one by one as in the image below. I saw an answer

Flutter UI - Container Border Margin interface Issue

I've been trying to work on my ecommerce homepage, as you can see from the screenshot I'm trying to fix the categories icon position in my Homescreen though it

Should I use ObjectBox in a separate isolate so as not to block UI thread?

I'm going to use ObjectBox in my Flutter project. But I noticed that the get method is synchronous. So should I use ObjectBox in a separate isolate to avoid blo

TextFormField "error message" breaks the shadow applied to the Text Field

I made a TextField builder and customized it and added a shadow to it using "Material" widget And when an error message is shown to the user in the app the Text

flutter video_player Not playing the video in release mode

i use video_palyer : ^2.1.0 the video playing normaly in debug mode but whene i run release apk the video not playing UPDATE the problem from flutter_facebook_a

CARP_BACKGROUND_LOCATION How can I get this data

I am using the plugin CARP_BACKGROUND_LOCATION to set a foreground service in my app and get the location updates, all is fine but when I open the app and after

Flutter Error Failed to extract manifest from APK: Exit code -1073741515

Getting this error in android studio 3.5 Android Version 3.5 SDK 28 flutter latest version Any one help me with this error? Getting this in windows 7 ultima

Flutter Custom Clipper Radius Octogone

I'm trying to round off the shapes of my clipper but it's impossible. I tried with the path.arcToPoint property but I think I don't really understand how it wor

How to find out in Flutter when a Widget appears / disappears?

I would like to find out in a stateful widget when the whole widget appears on screen or disappears, similar to iOS onViewWillAppear / disappear. Is that possib

Exception has occurred. _TypeError (type '_InternalLinkedHashMap<String, dynamic>' is not a subtype of type 'List<dynamic>')

I am new to flutter, so I honestly don't know the why I am receiving this error. List < BaseResponse > pEShippingDetail = []; Future loadMessageList() a

Error: The non-abstract class 'InternalSelectableMathState'

I just updated flutter version from 2.5.3 to 2.8. I have the following error that i dont know how resolve it. There is no error on any plugin installed, It seem

flutter arabic justified alignment not working

I'm developing a quran app with flutter and i've done most of the work. but when it comes to the proper alignment it doesn't work. output image is here I'm doin

Flutter: Unable to migrate to null safety

I am following this guide to migrate my project to null safety: https://dart.dev/null-safety/migration-guide But I am facing this issue with the dart migrate co

Passing a String List in a SOAP request in Flutter

I am making a SOAP Request and this is how my request should be sent: <id></id> <fieldList> <string>string</string> &

Passing a String List in a SOAP request in Flutter

I am making a SOAP Request and this is how my request should be sent: <id></id> <fieldList> <string>string</string> &