Skip to content

GooglePayButton is not showing. #49

@nisargsuthar

Description

@nisargsuthar

I've placed a GooglePayButton but it does not show. Enabling debug paint, you can see that it is very tiny. Setting height and width parameters also do not help.
image

I get these errors:

E/flutter (14723): #1      _AssertionError._throwNew (dart:core-patch/errors_patch.dart:36:5)
E/flutter (14723): #2      new PaymentConfiguration._ (package:pay_platform_interface/core/payment_configuration.dart:55:16)
E/flutter (14723): #3      PaymentConfiguration.fromAsset (package:pay_platform_interface/core/payment_configuration.dart:85:33)
E/flutter (14723): <asynchronous suspension>
E/flutter (14723): #4      Future.wait.<anonymous closure> (dart:async/future.dart)
E/flutter (14723): <asynchronous suspension>
E/flutter (14723): #5      Pay._loadConfigAssets (package:pay/src/pay.dart:45:25)
E/flutter (14723): <asynchronous suspension>
E/flutter (14723): 

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions