Milad-Akarie / auto_route_library

Flutter route generator
MIT License
1.55k stars 392 forks source link

Error when using 8.14 #1983

Closed jovet-github-acn closed 1 month ago

jovet-github-acn commented 2 months ago

../../.pub-cache/hosted/pub.dev/auto_route-8.1.4/lib/src/router/auto_route_page.dart:126:15: Error: Superclass has no getter named 'popGestureEnabled'. if (super.popGestureEnabled) { ^^^^^^^^^^^^^^^^^ Target kernel_snapshot failed: Exception

jovet-github-acn commented 2 months ago

Additional issue when using 8.2.0.

Because auto_route >=8.2.0 depends on meta ^1.12.0 and every version of integration_test from sdk depends on meta 1.11.0, auto_route >=8.2.0 is incompatible with integration_test from sdk. So, because cristy_pos depends on both integration_test from sdk and auto_route ^8.2.0, version solving failed.

ain-py commented 2 months ago

same issue, please let me know if you've found any solution.

Milad-Akarie commented 2 months ago

what flutter version are you using?

tomkad99 commented 2 months ago

I have also this issue on Flutter 3.19.0

ain-py commented 2 months ago

@Milad-Akarie im using version 3.19.6

tomkad99 commented 2 months ago

I tried on Flutter 3.22.2 and the problem currently disappeared

Mir1001 commented 1 month ago

Same problem on Flutter 3.19.5. Tmp. fix auto_route: ^8.0.3 -> auto_route: 8.0.3

Guang-B commented 1 month ago

I tried on Flutter 3.22.2 the problem still exist.

devBamidele commented 1 month ago

I upgraded to Flutter 3.22.2, bumped auto route to 8.2.0 and everything worked fine

agonzalezpuerta commented 2 weeks ago

I'm facing the incompatibility issue due to meta ^1.12.0 as well. Using auto_route 8.3.0 and Flutter 3.24.0.

cecepasinechka commented 2 weeks ago

Same problem on Flutter 3.19.5. Tmp. fix auto_route: ^8.0.3 -> auto_route: 8.0.3

Fixed the problem for me.