Hello dear team ,
I have such errors. I spend all night searching internet and tried nearly everything but coud not fix. Please, help me.
/C:/Users/Ali/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:31:9: Error: Type 'UnmodifiableUint8ListView' not found.
final UnmodifiableUint8ListView bytes;
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Ali/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:31:9: Error: 'UnmodifiableUint8ListView' isn't a type.
final UnmodifiableUint8ListView bytes;
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Ali/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:51:17: Error: Method not found: 'UnmodifiableUint8ListView'.
return Guid(UnmodifiableUint8ListView(guid));
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Ali/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:55:31: Error: Method not found: 'UnmodifiableUint8ListView'.
factory Guid.zero() => Guid(UnmodifiableUint8ListView(Uint8List(16)));
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Ali/AppData/Local/Pub/Cache/hosted/pub.dev/win32-3.1.4/lib/src/guid.dart:99:17: Error: Method not found: 'UnmodifiableUint8ListView'.
return Guid(UnmodifiableUint8ListView(Uint8List.fromList(guidAsBytes)));
^^^^^^^^^^^^^^^^^^^^^^^^^
/C:/Users/Ali/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(),
^^^^^^^
/C:/flutter_windows_3.19.6-stable/flutter/packages/flutter/lib/src/material/elevated_button.dart:196:22: Context: Found this candidate, but the arguments don't match.
static ButtonStyle styleFrom({
^^^^^^^^^
Target kernel_snapshot_program failed: Exception
FAILURE: Build completed with 2 failures.
1: Task failed with an exception.
-----------
* Where:
Script 'C:\flutter_windows_3.19.6-stable\flutter\packages\flutter_tools\gradle\src\main\groovy\flutter.groovy' line: 1687
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command 'C:\flutter_windows_3.19.6-stable\flutter\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.
==============================================================================
2: Task failed with an exception.
-----------
* What went wrong:
java.lang.StackOverflowError (no error message)
* 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
BUILD FAILED in 40s
Error: Gradle task assembleDebug failed with exit code 1
which flutter version are you used ? Use flutter 3.22.0 Run following command to check flutter version flutter - - version
Regards,
Mr. Chirag