Bug when using with the latest Flutter
dhirendralab opened this issue · comments
dhirendralab commented
Getting below error with the latest Flutter
Error: Cannot run with sound null safety, because the following dependencies
don't support null safety:
- package:velocity_x
- package:animator
- package:vxstate
- package:intl
- package:auto_size_text
- package:states_rebuilder
2
For solutions, see https://dart.dev/go/unsound-null-safety
2
FAILURE: Build failed with an exception.
* Where:
Script '/home/dhirendra/snap/flutter/common/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1035
* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/home/dhirendra/snap/flutter/common/flutter/bin/flutter'' 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
BUILD FAILED in 25s
Exception: Gradle task assembleDebug failed with exit code 1
Pawan Kumar commented
Which version of VelocityX you are using?
dhirendralab commented
using velocity_x: ^1.4.1
Pawan Kumar commented
Use the latest version which is 3.3.0
Bhaveshpankar commented
Use the latest version which is 3.3.0
thank you so much brother
Janaki Kumar commented
@iampawan sir, After using the latest velocity version 3.3.0, the VxState listen is showing an error....
Pawan Kumar commented
Use version 3.6.0 and replace listen with watch