Flutter project thal allow you to get random color screen from API and locally when there is no internet.
To clone this project simply run: git clone https://github.com/Nikzed/solid.git
and you're free to go.
To change color state simply touch the screen.
![](https://private-user-images.githubusercontent.com/38156331/280493725-63a8129d-4955-4134-a2fe-2afedaf229f1.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMTQ0NzIsIm5iZiI6MTcyNDExNDE3MiwicGF0aCI6Ii8zODE1NjMzMS8yODA0OTM3MjUtNjNhODEyOWQtNDk1NS00MTM0LWEyZmUtMmFmZWRhZjIyOWYxLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDAwMzYxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQzZGE0ZjQxNGM4NTc0MTFkNGVmZWM2YTNhMGQ2YjEzMDBlNjgzNmJmMjJmNTkzOTg3YWYzNzQzOWJiZTc1NzAmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.nyt55asG7lXZdVUoq4QiJs9BxRAqXb8QQhmK77UZGlA)
![](https://private-user-images.githubusercontent.com/38156331/280494001-8d0c8c88-324e-4751-9327-3ce025b4b66c.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjQxMTQ0NzIsIm5iZiI6MTcyNDExNDE3MiwicGF0aCI6Ii8zODE1NjMzMS8yODA0OTQwMDEtOGQwYzhjODgtMzI0ZS00NzUxLTkzMjctM2NlMDI1YjRiNjZjLnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA4MjAlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwODIwVDAwMzYxMlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTUwNWNmYTQ2NjgzMjMxZTMyMGRiZDYxMDAwODAwZTM3YzQ5ZGJiNzA4Njk1NzEyMTg3MTRmYTRkZDJjNWY0YWEmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.i1cEfeTQzeDEMAL-__rdDPVAJEC40ZvVfn3PQd3A3OU)
This project implements Clean Archintecture, Restful API by Dio package and retrofit (for generating models), you can see them in pubspec.yaml
,
Bloc state manager and equatable with Get_it packages. Get_it is a solution for dependency injection which you can see at injector.dart
file in the main folder.
.g
files were generated with dart run build_runner build --delete-conflicting-outputs
prompt, and excluded from analytics.
Dart version used: 3.0.5 Flutter version used: 3.10.5