SeerbitButton constructor
const
SeerbitButton({
- Key? key,
- required PayloadModel payload,
- required ValueSetter<
Map> onSuccess, - ButtonStyle? buttonStyle,
- String text = "Make Payment",
- required ValueSetter onCancel,
A Simple customizable button that triggers an overlay for the Seerbit Payment Widget
Implementation
const SeerbitButton(
{Key? key,
required this.payload,
required this.onSuccess,
this.buttonStyle,
this.text = "Make Payment",
required this.onCancel})
: super(key: key);