UPaymentRequest constructor

UPaymentRequest({
  1. required String title,
  2. required int amount,
  3. required Future<bool> onPay(),
  4. List<UKeyValue> lines = const <UKeyValue>[],
  5. List<UReceiptRow> receiptRows = const <UReceiptRow>[],
  6. IconData icon = Icons.receipt_long_outlined,
})

Implementation

UPaymentRequest({
  required this.title,
  required this.amount,
  required this.onPay,
  this.lines = const <UKeyValue>[],
  this.receiptRows = const <UReceiptRow>[],
  this.icon = Icons.receipt_long_outlined,
});