depositsMerchantWidget function
Widget
depositsMerchantWidget(
- BuildContext context,
- ButtonConfig buttonConfig, {
- required String merchantID,
- required bool envMode,
- required String apiKey,
Implementation
Widget depositsMerchantWidget(
BuildContext context,
ButtonConfig buttonConfig, {
required String merchantID,
required bool envMode,
required String apiKey,
}) {
HttpOverrides.global = MyHttpOverrides();
GetStorage.init();
Utils.loadEnvFile();
return ShopButton(
context: context,
buttonConfig: buttonConfig,
merchantID: merchantID,
envMode: envMode,
apiKey: apiKey,
);
}