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
BaseConsumer
widget for handling BLoC states in a reusable way.BaseConsumer
listens toLoadingState
,SuccessState
, andFailureState
and 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
BaseConsumer
to include detailed descriptions and usage examples. - Improved code comments for
BaseConsumer
to 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
InterceptedClient
class documentation to include examples forgetToken
,refreshToken
, andmodifyJsonResponse
methods. - New Class Exports: Added
Failure
,ResponseException
, andServerException
classes 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
getToken
andrefreshToken
methods public in theInterceptedClient
class 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
ConnectionChecker
andConnectionCheckerImpl
classes for network connectivity checks. - Error Handling: Added
Failure
,ResponseException
, andServerException
classes for comprehensive error management. - Updated
InterceptedClient
: MadegetToken
andrefreshToken
methods 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.dart
for network checks andintercepted_client.dart
for managing HTTP requests with token handling. - Use Case Management: Added
usecase.dart
for 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
BaseState
and its subclasses (InitialState
,LoadingState
,SuccessState
,FailureState
) for standardized state management. - Documentation Updates: Added detailed comments and usage examples for
BaseState
and its subclasses.
Fixed #
- Improved Documentation: Enhanced clarity and examples in documentation comments.
0.0.3 YYYY-MM-DD #
Added #
- UI Helpers: Added
showLoading
andshowSnackBar
utility functions. - Use Case Management: Introduced
UseCase
andNoParams
classes. - Network Utilities: Added
ConnectionChecker
andConnectionCheckerImpl
. - Error Handling: Added
ServerException
andResponseException
classes.
Fixed #
- Token Handling: Corrected token refresh handling in
InterceptedClient
. - Documentation Fixes: Improved documentation for various classes and functions.