Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abdulawalarif/block_with_cubit
This project is perfect for beginners looking to understand state management in Flutter using Cubit and how to build a basic dynamic UI with state-driven behavior.
https://github.com/abdulawalarif/block_with_cubit
android app apps bloc cubit dart flutter flutter-apps flutter-examples ios mobile
Last synced: 15 days ago
JSON representation
This project is perfect for beginners looking to understand state management in Flutter using Cubit and how to build a basic dynamic UI with state-driven behavior.
- Host: GitHub
- URL: https://github.com/abdulawalarif/block_with_cubit
- Owner: abdulawalarif
- License: mit
- Created: 2024-10-23T03:49:01.000Z (27 days ago)
- Default Branch: main
- Last Pushed: 2024-11-03T11:03:14.000Z (15 days ago)
- Last Synced: 2024-11-03T12:17:16.742Z (15 days ago)
- Topics: android, app, apps, bloc, cubit, dart, flutter, flutter-apps, flutter-examples, ios, mobile
- Language: C++
- Homepage:
- Size: 452 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Random Name Picker App
## A Flutter project to pick a random name from a lazy list using Cubit and Bloc. This project demonstrates a simple implementation of state management and dynamic UI updates with Stream.
## Features
* Picks a random String from a list.
* Uses of Cubit in state management with bloc.
* Updates the UI with a new random name when a button is pressed.
## Run Locally
Clone the project
```bash
git clone https://github.com/abdulawalarif/block_with_cubit.git
```Go to the project directory
```bash
cd block_with_cubit
```Install dependencies
```bash
flutter pub get
```Connect a physical device or start a virtual device on your machine
```bash
flutter run
```## How to tweak this project for your own uses
This project can be a great starting point for using Cubit in your Flutter apps. You can easily modify the list of names or extend the functionality by adding features like persisting selected names or integrating more complex state management logic.
## Found a bug?
If you found an issue or would like to submit an improvement to this project,
please submit an issue using the issues tab above. If you would like to submit a PR with a fix, reference the issue you created!## Author
- [@abdulawalarif](https://github.com/abdulawalarif)
## License[MIT](https://choosealicense.com/licenses/mit/)