brick_base 1.0.3 copy "brick_base: ^1.0.3" to clipboard
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.2 - 2026-04-03 #

Added #

  • Added result.dart to models

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
  • AppException hierarchy
    • ApiException - API/network errors
    • AuthException - Authentication errors
    • StorageException - Storage operation errors
    • ParseException - Serialization errors
  • BuildContext extensions
    • Screen dimensions and breakpoints
    • Device type detection (mobile, tablet, desktop)
    • Safe navigation helpers
    • Dialog, snackbar, and bottom sheet shortcuts
  • String extensions
    • Email validation
    • String capitalization
    • Null/empty checks
  • DateTime extensions (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
0
likes
150
points
183
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Production-ready Flutter base package with API client, secure storage, extensions, and exception handling.

Repository (GitHub)
View/report issues
Contributing

Topics

#flutter #dart #api-client #secure-storage #exception-handling

License

MIT (license)

Dependencies

dio, flutter, flutter_secure_storage

More

Packages that depend on brick_base