bharat_pay_kit 0.0.1
bharat_pay_kit: ^0.0.1 copied to clipboard
A unified Flutter payment gateway package for India. Supports Razorpay, Cashfree, PhonePe, Paytm, Google Pay, PayU, Stripe, CCAvenue, Instamojo, and UPI — all with a single consistent API, stunning 3D [...]
0.0.1 #
- Initial release of bharat_pay_kit — a unified Flutter payment gateway package for India.
- Unified API for 10 Indian payment gateways: Razorpay, Cashfree, PhonePe, Paytm, Google Pay, PayU, Stripe, CCAvenue, Instamojo, and UPI Generic.
- [
BharatPayKit] singleton controller withinit,pay,verify,switchGateway, anddisposemethods. - [
BharatPayButton] widget with animated loading, success ✅, and failure ❌ states usingflutter_animate. - [
BharatPaySheet] glassmorphism bottom sheet with staggered payment gateway list animation. - [
BharatPayCardWidget] interactive 3D flip credit/debit card with Visa/Mastercard/RuPay/Amex detection. - [
BharatPayStatusWidget] full-screen animated success (checkmark + confetti) and failure (shake X) screens. - [
BharatPayGatewaySelector] horizontally scrollable animated chip row. - [
CardFlipAnimation] helper — 3D perspective card flip viaTransform. - [
SuccessAnimationWidget] — custom painter progressive checkmark stroke animation (800 ms). - [
FailureAnimationWidget] — elastic scale + horizontal shake animations. - [
ProcessingAnimationWidget] — continuously rotating gradient arc. - [
ShimmerLoader] — configurable shimmer placeholder usingshimmerpackage. - [
BharatPayTheme] — complete Material3 light and dark themes with Google Fonts (Poppins, DM Sans, Rajdhani). - [
BharatPayColors] — curated palette with gateway brand colors and semantic gradients. - [
CurrencyFormatter] — Indian number formatting, compact notation (K/L/Cr), and multi-currency symbol support. - [
CardTypeDetector] — prefix-based Visa/Mastercard/RuPay/Amex detection with Luhn-compatible masking. - [
AmountValidator] — amount range and finite-number validation. - [
GatewayLogoHelper] — gateway color, emoji, short name, and description lookup. - Full null-safety support (Dart SDK
>=3.0.0 <4.0.0). - dartdoc comments on all public APIs.
- 30+ unit tests covering exceptions, models, formatters, validators, and card detection.
