SavedCardsScreen constructor

const SavedCardsScreen({
  1. Key? key,
  2. required SavedCardsModel saved,
  3. required String apiKey,
  4. required int amount,
  5. required String returnLink,
  6. required bool testMode,
  7. required Map<String, dynamic> metadata,
  8. required void onCancelledCard(
    1. Map<String, dynamic> payStatus
    ),
  9. required void onPaidCard(
    1. Map<String, dynamic> payStatus
    ),
  10. required void onCreateCard(
    1. Create data
    ),
})

Implementation

const SavedCardsScreen(
    {super.key,
    required this.saved,
    required this.apiKey,
    required this.amount,
    required this.returnLink,
    required this.testMode,
      required this.metadata,
    required this.onCancelledCard,
    required this.onPaidCard,
    required this.onCreateCard,

    });