XPayElementWidget constructor

XPayElementWidget({
  1. Key? key,
  2. required XPayElementController controller,
  3. ValueChanged<bool>? onReady,
  4. ValueChanged? onBinDiscount,
  5. XPayElementCustomStyle? style,
})

Implementation

XPayElementWidget({
  super.key,
  required this.controller,
  this.onReady,
  this.onBinDiscount,
  XPayElementCustomStyle? style,
}) : style = style ?? XPayElementCustomStyle();