navigateToKKiaPay method
Future
navigateToKKiaPay(
{ - Key? key,
- required int amount,
- required String reason,
- String? phone,
- String? name,
- String? email,
- String? data,
- String? partnerId,
- required dynamic callback(
- Map<String, dynamic>,
- BuildContext
),
- String? callbackUrl,
- required String apikey,
- required bool? sandbox,
- String? theme,
- List<String>? countries,
- List<String>? paymentMethods,
- int? routerId,
- bool preventDuplicates = true,
- Map<String, String>? parameters,
- Widget transition(
- BuildContext,
- Animation<double>,
- Animation<double>,
- Widget,
)?,
})
Implementation
Future<dynamic> navigateToKKiaPay({
_i3.Key? key,
required int amount,
required String reason,
String? phone,
String? name,
String? email,
String? data,
String? partnerId,
required dynamic Function(
Map<String, dynamic>,
_i3.BuildContext,
) callback,
String? callbackUrl,
required String apikey,
required bool? sandbox,
String? theme,
List<String>? countries,
List<String>? paymentMethods,
int? routerId,
bool preventDuplicates = true,
Map<String, String>? parameters,
Widget Function(BuildContext, Animation<double>, Animation<double>, Widget)?
transition,
}) async {
return navigateTo<dynamic>(Routes.kKiaPay,
arguments: KKiaPayArguments(
key: key,
amount: amount,
reason: reason,
phone: phone,
name: name,
email: email,
data: data,
partnerId: partnerId,
callback: callback,
callbackUrl: callbackUrl,
apikey: apikey,
sandbox: sandbox,
theme: theme,
countries: countries,
paymentMethods: paymentMethods),
id: routerId,
preventDuplicates: preventDuplicates,
parameters: parameters,
transition: transition);
}