Day 2 - Scaffold & structuringI used the int data type & experimented with some other data types in Dart. Then, I extracted the home code into a new dart file in the lib folder. At last, I used Scaffold instead of MaterialApp & learned how Scaffold works. lib > main.dart import...May 5, 2023 Β· 1 min readchitranshisrivastava.hashnode.dev
Day 1 - Setting up Flutter & Creating First AppInstallation & Setup Setting up Flutter is pretty straightforward. You can do so by installing these in your system - Flutter SDK Dart An editor - Visual Studio Code/Android Studio/Emacs I'll be using VS Code. Here's the official link that'll gu...May 4, 2023 Β· 2 min readchitranshisrivastava.hashnode.dev
Fetching & Saving User's Current Location π€πThis stunt is divided into 3 parts - Preparing to get the user's device location (getting the permissions, setting up the UI, etc.) Getting the user's current device location Saving the map state & camera position Okay so shut all the distractions,...Sep 11, 2021 Β· 4 min readchitranshisrivastava.hashnode.dev
Adding a Google Map πΊοΈπCreate a Google Maps project Add Google Maps to your Project New project β Google Maps Activity -> ... -> Create This will add all the code necessary for adding a map to your app. It mainly adds 3 files automatically to your project: a MapsActivity,...Sep 10, 2021 Β· 3 min readchitranshisrivastava.hashnode.dev
Read this if you aren't yet creating Custom Text widgets!Have you ever added Text Views to any of your Android projects? Of course you have. Have you added attributes to those Text Views...? Style, Color, Size, Font... blah blah blah? Well Of course you have. Now the real question - Do you add these attrib...Sep 9, 2021 Β· 3 min readchitranshisrivastava.hashnode.dev