This demo application pulls a list of all indian cities and shows them to you. You can favorite the cities you like. This demo application shows the usage of Chopper for flutter, to make http requests, Built Value for data models, Moor for flutter, to enable persistent data and get_it package for dependency injection. API in use can be found at Indian Cities REST API
- chopper - Dart Package : Jump to lib/data/cities_api_service.dart
- built_value - Dart Package : Jump to lib/models/built_city.dart
- moor - Dart Package : Jump to lib/data/persistent_database.dart
- get_it - Dart Package : Jump to lib/data/service_locator.dart
This is simple flutter project. If you want to mess around with the code, just clone the repo: https://github.com/emem365/city_c_ker.git
All you need to get this project running is to set up flutter in your system. To get started with flutter visit here
Clone the project. Make sure you have an emulator running or a device connected to your pc
Run using:
flutter run
- Flutter - Google’s UI toolkit for building beautiful, natively compiled applications for mobile, web, and desktop from a single codebase.
- Indian Cities REST API - API in use
- Madhur Maurya - Creator - emem365
- Again, a huge thanks to Indian Cities REST API whose free api we use :)