GPlayer icon indicating copy to clipboard operation
GPlayer copied to clipboard

Error: No named parameter with the name 'isInitialRoute'. when run the application

Open usaikoo opened this issue 5 years ago • 2 comments

Compiler message: ../../developer/flutter/.pub-cache/hosted/pub.dartlang.org/gplayer-0.0.2/lib/defaultmediacontrol.dart:57:31: Error: No named parameter with the name 'isInitialRoute'. settings: RouteSettings(isInitialRoute: false),
^^^^^^^^^^^^^^
../../developer/flutter/packages/flutter/lib/src/widgets/navigator.dart:458:9: Context: Found this candidate, but the arguments don't match. const RouteSettings({
^^^^^^^^^^^^^

Compiler message:
../../developer/flutter/.pub-cache/hosted/pub.dartlang.org/gplayer-0.0.2/lib/defaultmediacontrol.dart:57:31: Error: No named parameter with the name 'isInitialRoute'. settings: RouteSettings(isInitialRoute: false),
^^^^^^^^^^^^^^
../../developer/flutter/packages/flutter/lib/src/widgets/navigator.dart:458:9: Context: Found this candidate, but the arguments don't match. const RouteSettings({
^^^^^^^^^^^^^
Target kernel_snapshot failed: Exception: Errors during snapshot creation: null build failed.

FAILURE: Build failed with an exception.

  • Where:
    Script '/Users/saiko/developer/flutter/packages/flutter_tools/gradle/flutter.gradle' line: 882

  • What went wrong:
    Execution failed for task ':app:compileFlutterBuildDebug'.

Process 'command '/Users/saiko/developer/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 11s

usaikoo avatar Jun 18 '20 15:06 usaikoo

Any updated on this?

nicks258 avatar Sep 08 '20 09:09 nicks258

same error, any methods to solve?

Seven163 avatar Jun 04 '21 07:06 Seven163