CustomerSheetPresentParams constructor

  1. @JsonSerializable(explicitToJson: true)
const CustomerSheetPresentParams({
  1. CustomerSheetPresentationStyle? presentationStyle,
  2. CustomerSheetAnimationStyle? animationStyle,
  3. int? timeout,
})

Implementation

@JsonSerializable(explicitToJson: true)
const factory CustomerSheetPresentParams({
  /// Controls how the modal is presented (after animation). iOS only. Defaults to `popover`.
  /// See https://developer.apple.com/documentation/uikit/uimodalpresentationstyle for more info.
  CustomerSheetPresentationStyle? presentationStyle,

  /// Controls how the modal animates. iOS only.
  CustomerSheetAnimationStyle? animationStyle,

  /// Time (in milliseconds) before the Customer Sheet will automatically dismiss.
  int? timeout,
}) = _CustomerSheetPresentParams;