GooglePayButtonConfiguration class

Parameters for configuring a DigitalWalletButton for use with Google Pay

Constructors

GooglePayButtonConfiguration({required GooglePayButtonTheme theme, required GooglePayButtonType type, required double cornerRadius})
Create a new instance of this class
const
GooglePayButtonConfiguration.only({GooglePayButtonTheme theme = GooglePayButtonTheme.dark, GooglePayButtonType type = GooglePayButtonType.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 corner radius, in dp units, 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
theme GooglePayButtonTheme
The theme to be used when displaying a Google Pay button
final
type GooglePayButtonType
The type of Google 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