Skeleton feature is a template that includes an API calling example following Clean Architecture rules using Bloc/Cubit as State Management and GetIt as DI (Service Locator).
Overall changes:
Skeleton feature folders with folder rules example (presentation, domain and data).
Bloc/Cubit added as StateManagement.
CubitStatus enum with most common scenarios to use global.
Resource class to handle API responses.
CustomException class.
New MyApp class to separate from the init class.
UI Changes:
I've used the previous UI page with simple changes.
Business logic changes:
Repositories and Data Sources now are following Clean Architecture rules.
Things to improve:
if PR is approved, I consider a good idea to delete the old example with its folders.
HTTP Client used with Dio is not detecting failures such as no internet.
Resource class can improve the error handling based on changes when we will have a new HTTP Client.
Associated tickets:
https://github.com/rootstrap/flutter-base/issues/41
https://github.com/rootstrap/flutter-base/issues/45
Description:
Overall changes:
UI Changes:
Business logic changes:
Things to improve: