BakongKhqrView constructor

const BakongKhqrView({
  1. Key? key,
  2. double width = 300,
  3. EdgeInsets? padding,
  4. required String receiverName,
  5. double amount = 0.0,
  6. required KhqrCurrency currency,
  7. required String qr,
  8. Duration? duration,
  9. bool showEmptyAmount = true,
  10. bool? isDark = false,
  11. bool showShadow = true,
  12. dynamic onRetry()?,
})

Implementation

const BakongKhqrView({
  super.key,
  this.width = 300,
  this.padding,
  required this.receiverName,
  this.amount = 0.0,
  required this.currency,
  required this.qr,
  this.duration,
  this.showEmptyAmount = true,
  this.isDark = false,
  this.showShadow = true,
  this.onRetry,
});