ExpressCheckoutOptions constructor

ExpressCheckoutOptions({
  1. double? height,
  2. ExpressCheckoutButtonTheme? buttonTheme,
  3. ExpressCheckoutButtonType? buttonType,
  4. ExpressCheckoutLayout? layout,
  5. ExpressCheckoutPaymentMethods? paymentMethods,
})

Implementation

factory ExpressCheckoutOptions({
  /// height of the widget
  double? height,

  /// The theme of the buttons
  ExpressCheckoutButtonTheme? buttonTheme,

  /// The type of buttons
  ExpressCheckoutButtonType? buttonType,

  /// Layout parameters of the express checkout element
  ExpressCheckoutLayout? layout,

  /// Payment methods to display
  ExpressCheckoutPaymentMethods? paymentMethods,
}) = _ExpressCheckoutOptions;