ChoicePage.autoLocale constructor
ChoicePage.autoLocale({
- Key? key,
- required String token,
- required String id,
- required String amount,
- String success_redirect_url = "",
- String error_redirect_url = "",
- String reference = '',
- bool hide_identity_form = false,
- String style = '',
- String gender = '',
- String name_shop = '',
- String redirecturl = '',
- String errorredirecturl = '',
- Map<
String, dynamic> callback_info = const {}, - String trans_key = '',
- void onPaymentResult()?,
Implementation
ChoicePage.autoLocale({
super.key,
required this.token,
required this.id,
required this.amount,
this.success_redirect_url = "",
this.error_redirect_url = "",
this.reference = '',
this.hide_identity_form = false,
this.style = '',
this.gender = '',
this.name_shop = '',
this.redirecturl = '',
this.errorredirecturl = '',
this.callback_info = const {},
this.trans_key = '',
this.onPaymentResult,
}) : locale = _detectLocale();