I need help please to fix Issue

Alwyes when i try to run my application i get this issue Please any one can help me

../../AppData/Local/Pub/Cache/hosted/pub.dev/flutterwave_standard-1.0.4/lib/view/payment_widget.dart:61:19: Error: No named parameter with the name 'primary'.
                  primary: widget.style.getButtonColor(),
/X:/Wafik%20Test/flutterSDK/packages/flutter/lib/src/material/elevated_button.dart:151:22: Context: Found this candidate, but the arguments don't match.
  static ButtonStyle styleFrom({
Target kernel_snapshot failed: Exception
FAILURE: Build failed with an exception.

* Where:
Script 'X:\Wafik Test\flutterSDK\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1419

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'X:\Wafik Test\flutterSDK\bin\flutter.bat'' finished with non-zero exit value 1

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.

* Get more help at https://help.gradle.org

Error: Gradle task assembleDebug failed with exit code 1

Exited (1).

That’s the wrong forum here. You do not have a Gradle problem, but a compile error in your
Dart file.