PavelPZ / riverpod_navigator

Simple but powerfull Flutter navigation with riverpod and Navigator 2.0
MIT License
27 stars 3 forks source link

Error on upgrade to Flutter 3.3.0 #22

Closed Roms1383 closed 1 year ago

Roms1383 commented 2 years ago

Hi again, there's also another issue that I can report when I tried upgrading to Flutter 3.3.0.

Launching lib/main.dart on SM G955F in debug mode...
lib/main.dart:1
: Error: The non-abstract class 'RouteInformationParserImpl' is missing implementations for these members:
../…/src/routeDelegate.dart:43
 - RouteInformationParser.parseRouteInformationWithDependencies
Try to either

 - provide an implementation,
 - inherit an implementation from a superclass or mixin,
 - mark the class as abstract, or
 - provide a 'noSuchMethod' implementation.

class RouteInformationParserImpl implements RouteInformationParser<TypedPath> {
      ^^^^^^^^^^^^^^^^^^^^^^^^^^
: Context: 'RouteInformationParser.parseRouteInformationWithDependencies' is defined here.
../…/widgets/router.dart:1212
  Future<T> parseRouteInformationWithDependencies(RouteInformation routeInformation, BuildContext context) {

FAILURE: Build failed with an exception.

* Where:
Script '/Users/romain/Development/sdk/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 1159

* What went wrong:
Execution failed for task ':app:compileFlutterBuildDebug'.
> Process 'command '/Users/romain/Development/sdk/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 2s
Exception: Gradle task assembleDebug failed with exit code 1
Exited

Once again I'm not familiar with this specific error, but reading the logs seems to point out to RouteInformationParserImpl from riverpod_navigator, hence why I report it just in case.

Thanks!

Vermid commented 2 years ago

Same problem on flutter_macos_arm64_3.3.2.

PavelPZ commented 1 year ago

Solved