fca 0.0.11
fca: ^0.0.11 copied to clipboard
A Flutter template based on Clean Architecture, designed for scalable and maintainable apps with a structured layer system and pre-configured state management.
Changelog #
0.0.8 - 2024-08-17 #
Added #
- Introduced
BaseConsumerwidget for handling BLoC states in a reusable way.BaseConsumerlistens toLoadingState,SuccessState, andFailureStateand provides callbacks for each state.- Added support for showing a loading indicator, displaying success or error messages, and handling state-specific callbacks.
Changed #
- Updated the documentation for
BaseConsumerto include detailed descriptions and usage examples. - Improved code comments for
BaseConsumerto clarify its purpose and functionality.
Fixed #
- Addressed minor issues with state handling and callback execution in
BaseConsumer.
0.0.7 - 2024-08-16 #
Added #
- Updated Documentation: Enhanced the
InterceptedClientclass documentation to include examples forgetToken,refreshToken, andmodifyJsonResponsemethods. - New Class Exports: Added
Failure,ResponseException, andServerExceptionclasses to the library exports for comprehensive error handling. - Updated
README.md: Added detailed usage examples for all major components and utilities, including BLoC components, dependency injection, UI helpers, error handling, and network utilities.
Fixed #
- Improved Token Management: Made the
getTokenandrefreshTokenmethods public in theInterceptedClientclass to allow for better customization and integration.
Changed #
- Documentation Updates: Improved code documentation across various components for better clarity and usage instructions.
- Library Export List: Updated to include new and revised components and utilities.
0.0.6 - 2024-08-16 #
Added #
- Network Utilities: Added
ConnectionCheckerandConnectionCheckerImplclasses for network connectivity checks. - Error Handling: Added
Failure,ResponseException, andServerExceptionclasses for comprehensive error management. - Updated
InterceptedClient: MadegetTokenandrefreshTokenmethods public for easier token management and integration.
Changed #
- Updated Library Exports: Refined the library export list to include new network and error handling components.
0.0.5 - 2024-08-16 #
Added #
- Error Handling Exports: Added export for
failure.dart,response_exception.dart, andserver_exception.dart. - Network Utilities: Introduced
connection_checker.dartfor network checks andintercepted_client.dartfor managing HTTP requests with token handling. - Use Case Management: Added
usecase.dartfor business logic operations.
Changed #
- Library Export List: Updated to include newly added components and utilities.
- Expanded Documentation: Updated library documentation to cover new features and usage examples.
0.0.4 - 2024-08-16 #
Added #
- State Management: Introduced
BaseStateand its subclasses (InitialState,LoadingState,SuccessState,FailureState) for standardized state management. - Documentation Updates: Added detailed comments and usage examples for
BaseStateand its subclasses.
Fixed #
- Improved Documentation: Enhanced clarity and examples in documentation comments.
0.0.3 YYYY-MM-DD #
Added #
- UI Helpers: Added
showLoadingandshowSnackBarutility functions. - Use Case Management: Introduced
UseCaseandNoParamsclasses. - Network Utilities: Added
ConnectionCheckerandConnectionCheckerImpl. - Error Handling: Added
ServerExceptionandResponseExceptionclasses.
Fixed #
- Token Handling: Corrected token refresh handling in
InterceptedClient. - Documentation Fixes: Improved documentation for various classes and functions.