ThepeerCheckoutView constructor

const ThepeerCheckoutView({
  1. Key? key,
  2. required ThepeerData data,
  3. required String email,
  4. Widget? errorWidget,
  5. ValueChanged? onSuccess,
  6. VoidCallback? onClosed,
  7. ValueChanged? onError,
  8. bool showLogs = false,
  9. bool isDismissible = false,
})

Implementation

const ThepeerCheckoutView({
  Key? key,
  required this.data,
  required this.email,
  this.errorWidget,
  this.onSuccess,
  this.onClosed,
  this.onError,
  this.showLogs = false,
  this.isDismissible = false,
}) : super(key: key);