brick_base 1.0.3
brick_base: ^1.0.3 copied to clipboard
Production-ready Flutter base package with API client, secure storage, extensions, and exception handling.
Changelog #
All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
1.0.3 - 2026-04-03 #
- Dynamic base url
1.0.0 - 2026-03-27 #
Added #
- Initial release of Brick Base
ApiClient- Dio-based HTTP client with interceptors- Automatic Bearer token injection
- Error handling and transformation
- Generic type-safe responses
- Debug logging support
SecureStorageService- Encrypted token storage- Android RSA_ECB encryption
- iOS Keychain integration
- Token management methods
AppExceptionhierarchyApiException- API/network errorsAuthException- Authentication errorsStorageException- Storage operation errorsParseException- Serialization errors
BuildContextextensions- Screen dimensions and breakpoints
- Device type detection (mobile, tablet, desktop)
- Safe navigation helpers
- Dialog, snackbar, and bottom sheet shortcuts
Stringextensions- Email validation
- String capitalization
- Null/empty checks
DateTimeextensions (foundation)- Comprehensive documentation and examples
Features #
- Production-ready code
- Type-safe implementations
- Comprehensive error handling
- Platform support (Android, iOS, Web, Windows, macOS, Linux)
- Fully documented API