ApplePayButtonConfiguration class
Parameters for configuring a DigitalWalletButton for use with Apple Pay
Constructors
- ApplePayButtonConfiguration.new({required ApplePayButtonStyle style, required ApplePayButtonType type, required double cornerRadius})
-
Create a new instance of this class
const
- ApplePayButtonConfiguration.only({ApplePayButtonStyle style = ApplePayButtonStyle.black, ApplePayButtonType type = ApplePayButtonType.checkout, double cornerRadius = 8.0})
-
Create an instance of this class by providing only the fields you want to
customize
const
Properties
- cornerRadius → double
-
The radius, in points, for the rounded corners of the button
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- style → ApplePayButtonStyle
-
The style to be used when displaying an Apple Pay button
final
- type → ApplePayButtonType
-
The type of Apple Pay button to display
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited