Flutter Firebase Android Setup

As I told in the ListView from Firestore post, Firebase is an exceptional Backend-as-a-Service. It is now owned by Google. There are many services offered under Firebase. This includes but is not limited to Cloud Firestore, Realtime Database, Firebase Auth, etc. Today we鈥檙e gonna talk about the initial setup needed to use firebase on an Android App created using Flutter. Create a new Firebase project To use firebase on any of our products, first, we have to create a Firebase Project....

March 23, 2021 路 5 min 路 Muhammed Mukhthar CM

GetX Navigation Basics

As I told in the post about Showing Snackbars using GetX, GetX is an awesome all-in-one package. Another great feature in GetX is easy navigation without a lot of boilerplate code. The most useful feature of GetX navigation is not the decreased number of Lines of Code, but The ability to use these within our Business Logic. As they don鈥檛 need context, we can simply use them inside our Business Logic 馃槉....

March 22, 2021 路 2 min 路 Muhammed Mukhthar CM

Using Storage Permission in Flutter

Flutter is an awesome toolkit. It allows us for fast UI iteration. But what if we are not able to access the storage of the device we鈥檙e running on? In this guide, we鈥檒l go through how we can get the storage permission in a Flutter Application. Prerequisites Platform setup For this guide, I assume you鈥檙e using an Android Device. Normally, In Android, we have to add these lines to our AndroidManifest....

March 21, 2021 路 3 min 路 Muhammed Mukhthar CM

Flutter Snackbar Without Context using GetX

One thing which makes Flutter very much awesome is it鈥檚 packages ecosystem. Out of all of them get is a package that stands out with it鈥檚 features. It is a complete package with Navigation, state management, Dependency injection, 鈥 , blah blah blah鈥 you name it 馃榾. In this post, we鈥檙e gonna talk about how to show a SnackBar in Flutter with the getx library. Adding Packages First of all, we have to add the get package into our pubspec....

March 20, 2021 路 3 min 路 Muhammed Mukhthar CM

Different Types of Snapshots in Flutter

There are 4 major types of Snapshots in Flutter when working with Firebase. These are, AsyncSnapshot DocumentSnapshot QuerySnapshot DataSnapshot If you are a keen observer, you must鈥檝e noticed some of them in my ListView from Firestore Tutorial. AsyncSnapshot This is kind of Superset of all the Asynchronous data sources in Flutter. These AsynSnapshots cover the states such as ConnectionState, whether there is an Error, or the Data source is Empty etc....

March 19, 2021 路 2 min 路 Muhammed Mukhthar CM