BankBoxConfig constructor
BankBoxConfig({
- required dynamic onSuccess(
- dynamic
- required dynamic onError(
- BankBoxException exception
- required AppInfo appInfo,
- void onClose()?,
- bool enableBalanceCheck = true,
- bool showTerminals = true,
- bool showLabel = true,
- MobilePOSTheme? theme,
- Widget? logo,
- required CustomerInfo customerInfo,
- BankBoxEnviroment enviroment = BankBoxEnviroment.staging,
Implementation
BankBoxConfig(
{required this.onSuccess,
required this.onError,
required this.appInfo,
this.onClose,
this.enableBalanceCheck = true,
this.showTerminals = true,
this.showLabel = true,
this.theme,
this.logo,
required this.customerInfo,
this.enviroment = BankBoxEnviroment.staging})
: super() {
theme = theme ?? MobilePOSTheme.defaults();
}