iampawan / VelocityX

A minimalist Flutter framework for rapidly building Flutter apps.
https://velocityx.dev
MIT License
1.43k stars 190 forks source link

Not compatible with flutter 3.7 #180

Closed Bojacnik closed 1 year ago

Bojacnik commented 1 year ago

Describe the bug Will VelocityX support flutter 3.7 in the future? It would appear that it supports flutter 3.10 but the constraints do not exclude 3.7. Will it be backwards compatible in the future?

To reproduce run command flutter test

Expected behavior It is supposed to work on flutter 3.7.0

Error Snippets Example 1 Error: The getter 'View' isn't defined for the class 'BuildContext'.

Package

Desktop:

Smartphone

Additional context Add any other context about the problem here.

iampawan commented 1 year ago

This is happening because of the inclusion of https://github.com/flutter/flutter/pull/118004 and VelocityX just started using it. And because it was added during one of the Flutter 3.7 versions, it should be supported already. However, I want to keep all these versions so working on a change and it should be fixed with VelocityX v4.1.1

iampawan commented 1 year ago

Looks like this change should go and I highly recommend everyone to update to the latest SDK version