card_hub library

A Flutter package for animated credit/debit card displays in payment apps and digital wallets.

Features include animated card selection, premium branding with Material 3 theming, and optimized performance for production applications.

Classes

CardConfigs
A utility class containing configuration constants for cards.
CardHub
A widget that displays a collection of cards with motion effects, offering a visually engaging way to present a list of CardHubModel items.
CardHubModel
Represents a credit card model.
CardHubStyleData
A class that defines the visual style configuration for a credit card widget.
CardHubThemeProvider
A provider class that generates Material 3 ThemeData from CardHubModel

Enums

CardType
Enum representing different types of credit cards.