Flutter-v3 icon indicating copy to clipboard operation
Flutter-v3 copied to clipboard

Fixed 'Unhandled Exception: type 'Null' is not a subtype of type 'FutureOr<ChargeResponse>''

Open definitelyme opened this issue 4 years ago • 4 comments

definitelyme avatar Oct 21 '21 23:10 definitelyme

I'm currently experiencing this error message. I dont know if something has changed

onyicodes avatar Jun 14 '22 22:06 onyicodes

I'am stilling getting this error even after fixing this line " Future<ChargeResponse> charge()" to " Future<ChargeResponse?> charge()"

ssekuwanda avatar Jul 06 '22 02:07 ssekuwanda

I'am stilling getting this error even after fixing this line " Future charge()" to " Future<ChargeResponse?> charge()"

Can you paste your pubspec.yaml in the comments?

definitelyme avatar Aug 05 '22 21:08 definitelyme

Temporary fix:

flutterwave_standard:
  git:
    url: https://github.com/definitelyme/flutter_standard.git
    ref: fix-exception

definitelyme avatar Oct 26 '22 22:10 definitelyme