Got Same error in both app, Kindly any one help me
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/home/flutterwave_payment.dart:414:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState!.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_account_payment/bank_account_payment.dart:127:28: Error: The method 'RaisedButton' isn't defined for the class 'PayWithBankAccountState'.
- 'PayWithBankAccountState' is from 'package:flutterwave/widgets/bank_account_payment/bank_account_payment.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_account_payment/bank_account_payment.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_account_payment/bank_account_payment.dart:424:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState?.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_transfer_payment/bank_transfer_payment.dart:171:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState?.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/card_payment.dart:175:26: Error: The method 'RaisedButton' isn't defined for the class '_CardPaymentState'.
- '_CardPaymentState' is from 'package:flutterwave/widgets/card_payment/card_payment.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/card_payment.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/card_payment.dart:363:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState?.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mobile_money/pay_with_mobile_money.dart:131:28: Error: The method 'RaisedButton' isn't defined for the class '_PayWithMobileMoneyState'.
- '_PayWithMobileMoneyState' is from 'package:flutterwave/widgets/mobile_money/pay_with_mobile_money.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mobile_money/pay_with_mobile_money.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mobile_money/pay_with_mobile_money.dart:315:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState!.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mpesa_payment/pay_with_mpesa.dart:62:28: Error: The method 'RaisedButton' isn't defined for the class '_PayWithMpesaState'.
- '_PayWithMpesaState' is from 'package:flutterwave/widgets/mpesa_payment/pay_with_mpesa.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mpesa_payment/pay_with_mpesa.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/mpesa_payment/pay_with_mpesa.dart:139:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState!.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/ussd_payment/pay_with_ussd.dart:228:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState?.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/voucher_payment/pay_with_voucher.dart:74:28: Error: The method 'RaisedButton' isn't defined for the class '_PayWithVoucherState'.
- '_PayWithVoucherState' is from 'package:flutterwave/widgets/voucher_payment/pay_with_voucher.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/voucher_payment/pay_with_voucher.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/voucher_payment/pay_with_voucher.dart:134:37: Error: The method 'showSnackBar' isn't defined for the class 'ScaffoldState'.
- 'ScaffoldState' is from 'package:flutter/src/material/scaffold.dart' ('/F:/android_new/flutter/packages/flutter/lib/src/material/scaffold.dart').
Try correcting the name to the name of an existing method, or defining a method named 'showSnackBar'.
this._scaffoldKey.currentState?.showSnackBar(snackBar);
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/home/flutterwave_payment_option.dart:11:12: Error: The method 'RaisedButton' isn't defined for the class 'FlutterwavePaymentOption'.
- 'FlutterwavePaymentOption' is from 'package:flutterwave/widgets/home/flutterwave_payment_option.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/home/flutterwave_payment_option.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
return RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_otp.dart:63:26: Error: The method 'RaisedButton' isn't defined for the class '_RequestOTPState'.
- '_RequestOTPState' is from 'package:flutterwave/widgets/card_payment/request_otp.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_otp.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/flutterwave_view_utils.dart:28:13: Error: Method not found: 'FlatButton'.
FlatButton(
^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/flutterwave_view_utils.dart:35:13: Error: Method not found: 'FlatButton'.
FlatButton(
^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_transfer_payment/pay_with_account_button.dart:14:14: Error: The method 'RaisedButton' isn't defined for the class 'PayWithTransferButton'.
- 'PayWithTransferButton' is from 'package:flutterwave/widgets/bank_transfer_payment/pay_with_account_button.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_transfer_payment/pay_with_account_button.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_transfer_payment/show_transfer_details.dart:108:24: Error: The method 'RaisedButton' isn't defined for the class 'AccountDetails'.
- 'AccountDetails' is from 'package:flutterwave/widgets/bank_transfer_payment/show_transfer_details.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/bank_transfer_payment/show_transfer_details.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_address.dart:113:30: Error: The method 'RaisedButton' isn't defined for the class '_RequestAddressState'.
- '_RequestAddressState' is from 'package:flutterwave/widgets/card_payment/request_address.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_address.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_pin.dart:59:26: Error: The method 'RaisedButton' isn't defined for the class '_RequestPinState'.
- '_RequestPinState' is from 'package:flutterwave/widgets/card_payment/request_pin.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/card_payment/request_pin.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/ussd_payment/pay_with_ussd_button.dart:41:24: Error: The method 'RaisedButton' isn't defined for the class '_PayWithUssdButtonState'.
- '_PayWithUssdButtonState' is from 'package:flutterwave/widgets/ussd_payment/pay_with_ussd_button.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/ussd_payment/pay_with_ussd_button.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^
/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/ussd_payment/ussd_details.dart:56:20: Error: The method 'RaisedButton' isn't defined for the class 'USSDDetails'.
- 'USSDDetails' is from 'package:flutterwave/widgets/ussd_payment/ussd_details.dart' ('/F:/android_new/flutter/.pub-cache/hosted/pub.dartlang.org/flutterwave-1.0.1/lib/widgets/ussd_payment/ussd_details.dart').
Try correcting the name to the name of an existing method, or defining a method named 'RaisedButton'.
child: RaisedButton(
^^^^^^^^^^^^