rd_catalogue 0.1.0-beta.1 copy "rd_catalogue: ^0.1.0-beta.1" to clipboard
rd_catalogue: ^0.1.0-beta.1 copied to clipboard

A Flutter package for the Redeemly Catalogue API

Changelog #

All notable changes to this project will be documented in this file.

0.1.0-beta.1 - 2026-02-12 #

Added #

  • Initial beta release of rd_catalogue package
  • Browse vouchers from Redeemly catalogue API
  • View voucher details with images and descriptions
  • Select quantity and confirm purchase flow
  • Custom payment integration via onConfirmPurchase callback
  • Automatic voucher pull via Redeemly API after successful payment
  • Voucher success screen with serial codes
  • Customer logs page (My Vouchers) with issued vouchers
  • HTML-based "How to Use" instructions rendering
  • Support for English and Arabic languages
  • Clean, customizable UI matching Figma designs
  • Self-contained navigation flow
  • Error handling with custom exceptions
  • Debug logging support
  • Status chips for voucher availability (Active/Used/Expired)
  • Serial code copy functionality
  • Empty states for vouchers list and customer logs

Models #

  • RdCatalogueVoucher: Voucher model with all properties
  • RdHowToUse: How to use instructions model
  • RdLanguage: Language enumeration (English/Arabic)
  • RdPurchaseAuthResult: Purchase authorization result types
  • RdPulledVoucherItem: Pulled voucher item model
  • RdIssuedVoucher: Issued voucher model for customer logs

Pages #

  • RdVouchersPage: Main vouchers listing page
  • RdVoucherDetailsPage: Voucher details and purchase flow
  • RdVoucherPurchasePage: Quantity selection and purchase confirmation
  • RdVoucherSuccessPage: Post-purchase success screen
  • RdCatalogueLogsPage: Customer vouchers (My Vouchers)

Configuration #

  • RdCatalogueOptions: Package configuration options
  • RdCatalogueConfig: Singleton configuration manager

API #

  • RdCatalogueApiClient: API client for catalogue operations
  • fetchVouchers(): Fetch vouchers from catalogue
  • pullVoucher(): Pull vouchers after purchase
0
likes
140
points
124
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package for the Redeemly Catalogue API

Homepage

Documentation

API reference

License

MIT (license)

Dependencies

flutter, flutter_html, http

More

Packages that depend on rd_catalogue