A new Flutter application.
this simple app get the data from api and then sync it in sqflite , then send the data to the bloc and Listen of Stream in Ui depend on connection state of stream .
- dio - A powerful Http client for Dart, which supports Interceptors, FormData, Request Cancellation, File Downloading, Timeout etc.
- sqflite -Flutter plugin for SQLite, a self-contained, high-reliability, embedded, SQL database engine.
- RxDart - RxDart is an implementation of the popular reactiveX api for asynchronous programming, leveraging the native Dart Streams api.
- bloc the BLoC (Business Logic Component) Design Pattern using the power of reactive streams.
- get_it - Simple direct Service Locator that allows to decouple the interface from a concrete implementation and to access the concrete implementation from everywhere in your App.
- connectivity - Flutter plugin for discovering the state of the network (WiFi & mobile/cellular) connectivity on Android and iOS.