card_hub 0.4.0
card_hub: ^0.4.0 copied to clipboard
A Flutter package for animated credit/debit card displays in payment apps and digital wallets.
Changelog #
All notable changes to the Card Hub package will be documented in this file.
0.4.0 - 2025-08-09 #
0.3.0 - 2025-08-09 #
Added #
LocalExceptionTypeenum to standardize local error handling (lib/src/utils/error/local_exception_type.dart).- Generated
AssetPathsutility for image asset constants (lib/src/utils/asset_paths.dart). - Registered card assets and custom font in
pubspec.yamlunderflutter/assetsandflutter/fonts.
Changed #
- Clarified public library exports and inline docs in
lib/card_hub.dart. - Consolidated dependency declarations in
pubspec.yaml.
0.2.0 - 2025-08-08 #
Added #
- Premium branding with Material 3 theming via
CardHubThemeProvider - Dynamic
ColorSchemeextraction from card logos usingMaterialColorExtractor - In-memory caching for extracted color schemes and palettes
- Performance guidance at
lib/src/docs/performance_best_practices.md
Changed #
- README updated with premium branding usage example and notes
- Clarified persistence via
SharedPreferencesFacadeandCardHubService
Fixed #
- README example corrected to use
CardHubModel.onCardTapinstead of a non-existentonCardSelected
0.1.0 - 2025-08-01 #
Added #
- Initial release of the Card Hub package
- Animated card stack display with smooth transitions
- Default card selection with persistence using SharedPreferences
- Dynamic card styling with custom colors and gradients
- Automatic color extraction from card logos
- Support for various card types (Visa, Mastercard, etc.)
- Custom badges for default/non-default cards
- Customizable text styles and layouts
- Card removal functionality