SeerbitButton constructor

const SeerbitButton({
  1. Key? key,
  2. required PayloadModel payload,
  3. required ValueSetter<Map> onSuccess,
  4. ButtonStyle? buttonStyle,
  5. String text = "Make Payment",
  6. 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);