YTCore constructor
YTCore({
- Key? key,
- required String clientId,
- required String title,
- required double amount,
- required String? backendUrl,
- String? logo,
- double? maxWith,
- EdgeInsetsGeometry? padding,
- required bool showSuccessDialog,
- required String languageCode,
- dynamic onSuccess(
- dynamic response
- dynamic onError(
- dynamic error
Implementation
YTCore({
super.key,
required this.clientId,
required this.title,
required this.amount,
required this.backendUrl,
this.logo,
this.maxWith,
this.padding,
required this.showSuccessDialog,
required this.languageCode,
this.onSuccess,
this.onError,
});