XPayElementWidget constructor
XPayElementWidget({
- Key? key,
- required XPayElementController controller,
- ValueChanged<
bool> ? onReady, - ValueChanged? onBinDiscount,
- XPayElementCustomStyle? style,
Implementation
XPayElementWidget({
super.key,
required this.controller,
this.onReady,
this.onBinDiscount,
XPayElementCustomStyle? style,
}) : style = style ?? XPayElementCustomStyle();