iampawan / VelocityX

A minimalist Flutter framework for rapidly building Flutter apps.

Home Page:https://velocityx.dev

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Bug when using with the latest Flutter

dhirendralab opened this issue · comments

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

Which version of VelocityX you are using?

using velocity_x: ^1.4.1

Use the latest version which is 3.3.0

Use the latest version which is 3.3.0
thank you so much brother

@iampawan sir, After using the latest velocity version 3.3.0, the VxState listen is showing an error....

Use version 3.6.0 and replace listen with watch