RawGooglePayButton constructor

const RawGooglePayButton({
  1. Key? key,
  2. VoidCallback? onPressed,
  3. GooglePayButtonType type = GooglePayButtonType.pay,
})

Creates a Google Pay button widget with the parameters specified.

Implementation

const RawGooglePayButton({
  Key? key,
  this.onPressed,
  this.type = GooglePayButtonType.pay,
}) : super(key: key);