UReceipt constructor

const UReceipt({
  1. required String title,
  2. required int amount,
  3. IconData icon = Icons.receipt_long_outlined,
  4. String? method,
  5. String? trackingNumber,
  6. DateTime? date,
  7. List<UReceiptRow> rows = const <UReceiptRow>[],
})

Implementation

const UReceipt({
  required this.title,
  required this.amount,
  this.icon = Icons.receipt_long_outlined,
  this.method,
  this.trackingNumber,
  this.date,
  this.rows = const <UReceiptRow>[],
});