Above I have uploaded the code in an organized manner. You can just download from the link up. Download the code and run The code includes the below features App life cycle observer A logger for the app screens meaning, for the dart classes Crashlytics for collecting crash information Gameservice for uploading the app to…
How to make a search bar in Flutter
We will see how to make a responsive search bar in Flutter using simple widgets. We will put everything in a Row widget. We want the search bar to take the complete width horizontally, so we will put an Expanded widget inside the Row widget. We will make sure the search bar has distinctive color…
Flutter Error: Member not found: ‘UnicodeChar’ [Solved]
After upgrading to flutter 3.0 you will get below error if you run, Flutter Error: Member not found: ‘UnicodeChar’ To solve this error, do the below things run flutter clean delete pubspec.lock file flutter pub get.
Flutter Switch Widget | Make A Button
We will see how to use Switch widget that we can use for profile. Switch widget takes a few parameters
Error: Method ‘addPostFrameCallback’ cannot be called on ‘SchedulerBinding?’ because it is potentially null.
It could cause this problem due to flutter null-safety. Now, your vscode or android studio should give you the errors regarding which files and which lines. Most of the places, you will the keyword instance. 1. You need to put ! operator right next to the instance in extention_navigation.dart This is for snackbar. This comes…
Flutter Place Order Model for E-commerce App
The below code is for your place order model. The code is use in the app for food delivery
Flutter Order Model for Payment
Below we created an order model for our e-commerce app.
Flutter SliverGridDelegateWithFixedCrossAxisCount
We will see how to use SliverGridDelegateWithFixedCrossAxisCount in flutter. You use it for show items in grid.Mostly you will use it inside Gridview.Builder crossAxisCount: number of cross axis child elements. After this attribute value is determined, the length of the child element on the horizontal axis is determined, that is, the quotient of the horizontal…
Flutter Getx GetConnect When and How to Use | Example
Here you will learn when and how to use Flutter Getx GetConnect. If your controllers need to pass base url and they also need to use the service the like get() method or other related method like Post(), Update() and Delete(), then you must extend GetConnect. So using Getx GetConnect(), you dont need to use…
Flutter: Connection closed while receiving data [Solved]
This happens in android emulator. Android emulator might think a certain connection is insecure. It’s due to using http rather than https. But for some reason if you really have to use http rather than https, then try the below solution Emulator setting And then uncheck the setting here The above setting should solve your…