STKPushScreen constructor

STKPushScreen({
  1. Key? key,
  2. required String token,
  3. required String orderID,
  4. required String amount,
  5. required String phone,
  6. required Function onSuccess,
  7. required Function onFailure,
  8. Color backgroundColor = Colors.white,
  9. Color buttonColor = Colors.blue,
  10. Color textColor = Colors.black,
  11. bool showTests = false,
})

Implementation

STKPushScreen({super.key,
	required this.token,
	required this.orderID,
	required this.amount,
	required this.phone,
	required this.onSuccess,
	required this.onFailure,
	this.backgroundColor = Colors.white,
	this.buttonColor = Colors.blue,
	this.textColor = Colors.black,
	this.showTests = false,
});