A simple Flutter app Switch Theme for understanding the BLoC State Management

theme_switch

Building a simple Flutter app * Switch Theme * for understanding the BLoC State Management including: Cubit Communications with StreamSubscription & Managing Route.

?️ Demo

Theme.Switch.Demo.mp4

? Usage

Going through it, firstly, clone this repository by:

$ git clone https://github.com/tduongtad1304/theme_switch.git

Then navigate to the folder by: cd theme_switch and type: code . (For VSCode instance)

Next, just run: flutter pub get on the Terminal and finally run this project by: flutter run

A few resources to get you started if this is your first Flutter project:

For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.

GitHub

View Github