LokotroPayCheckout constructor

const LokotroPayCheckout({
  1. Key? key,
  2. String? title,
  3. TextStyle? titleStyle,
  4. Color? titleBackgroundColor,
  5. required LokotroPayConfigs configs,
  6. required ValueChanged<LokotroPayOnResponse> onResponse,
  7. required ValueChanged<LokotroPayOnError> onError,
  8. required LokotroPaymentBody paymentBody,
  9. bool enableHapticFeedback = true,
  10. Color? backgroundColor,
  11. EdgeInsetsGeometry? padding,
  12. LokotroPayThemeConfig? themeConfig,
  13. LokotroPayLanguage? language,
})

Implementation

const LokotroPayCheckout({
  super.key,
  this.title,
  this.titleStyle,
  this.titleBackgroundColor,
  required this.configs,
  required this.onResponse,
  required this.onError,
  required this.paymentBody,
  this.enableHapticFeedback = true,
  this.backgroundColor,
  this.padding,
  this.themeConfig,
  this.language,
});