pay library Null safety

Copyright 2021 Google LLC. SPDX-License-Identifier: Apache-2.0

Classes

ApplePayButton
A widget to show the Apple Pay button according to the rules and constraints specified in PayButton.
ButtonPlaceholder
Shows the appropriate widget based on the API requests above, respecting the margin if the child is set.
GooglePayButton
A widget to show the Google Pay button according to the rules and constraints specified in PayButton.
Pay
High level layer to easily manage cross-platform integrations.
PayButton
A widget that handles the API logic to facilitate the integration.
PaymentConfiguration
An object that holds information about a payment transaction.
PaymentItem
A simple object that holds information about individual entries in the payment summary shown before completing a payment.
RawApplePayButton
A button widget that follows the Apple Pay button styles and design guidelines.
RawGooglePayButton
A button widget that follows the Google Pay button styles and design guidelines.

Constants

supportedProviders → const Map<TargetPlatform, List<String>>
List of supported payment providers and platform pairs.
{TargetPlatform.android : ['google_pay'], TargetPlatform.iOS : ['apple_pay']}

Enums

ApplePayButtonStyle
The button styles supported on Apple Pay.
ApplePayButtonType
The types of button supported on Apple Pay.
GooglePayButtonType
The types of button supported on Google Pay.
PaymentItemStatus
Copyright 2021 Google LLC
PaymentItemType
The payment types supported when showing the payment selector.
PayProvider
The payment providers supported by this package.