In the code shown below , the dispatch event is called from within the build method after getting the BuildContext object. What if I wish to do is to dispatch a
I have this little code: void main(List<String> args) { const data = 'amigo+/=:chesu'; var encoded = base64Encode(utf8.encode(data)); var encoded2 =
I'm using an image as a background, and it looks good until I use the keyboard, how to solve that? before the keyboard is shown and that's after the keyboard is
I'm developing a standalone package which is currently inside an app like this: app/packages/my_package I created the package with the create command package te
When using the FlexibleSpaceBar widget in flutter I am unable to set the background property. According to the docs it's supposed to be a Widget. From the docs
The Unicode regular expression documentation describes doing complex matches for text. Specifically, I am wondering about matching various scripts within a stri
I have a Future which, when complete, adds some data to a ChangeNotifierProvider. Then I use the data in the ChangeNotifierProvider to populate some ListViews.
I want to play Music Files like mp3, m4a files from Google Drive in Flutter. So far, I'm able to fetch the link of files in my google drive Assets I'm using ass
I'm learn searching data by ID with package DIO https://pub.dev/packages/dio, my problem is every time I'm type wrong keyword search, the app suddenly crash wit
Problem summary Hi, I have an issue getting the auto_route package up and running in a Flutter project. Following the official documentation, I have done the fo
In my application I have 13 screens in total, some of them has links to other screens, I also have a drawer that has links to most of these screens. The followi
In SliderThemeData trackheight is given but I want to increase the track's width. Here is my current code: SliderTheme( data: SliderThemeData( tra
I'm trying to implement a circular cutout of an image and I am using drawAtlas for it. Here is my implementation so far: canvas.drawAtlas( image!, [ /*
How can i achieve similar solution to: How to get a substring between two strings in PHP? but in DART For example I have a String:String data = "the quick brow
The application needs to implement language switching at runtime. Wrote a bloc with event and state and called BlocBuilder in main.dart. But I don't know how to
I built an app in flutter, dart to access the location of the user. I now want to share the current physical location of the user via Whatsapp, email etc but no
This Dart official video states that Dart's so-called "sound null safety" is better than Kotlin's null safety design, because it can optimise the code based on
Currently, when running the command flutter create -t module --org com.example app we are able to generate a Flutter module which we can add to a host parent ap
I'm working with some tutorials to learn Flutter and the one that I'm taking now uses VSCode. I actually prefer it to Android Studio because it doesn't overhea
I am attempting to add vertical divider between the leading portion and the title of a ListTile. I understand that Flutter now has a VerticalDivider widget,