VGVentures / slide_puzzle

MIT License
530 stars 361 forks source link

`slide_puzzle` is broken under Flutter 2.10 #10

Open domesticmouse opened 2 years ago

domesticmouse commented 2 years ago

Description slide_puzzle doesn't compile.

Steps To Reproduce

$ flutter run -d chrome
Launching lib/main.dart on Chrome in debug mode...
../../../flutter/.pub-cache/hosted/pub.dartlang.org/url_launcher_web-2.0.7/lib/url_launcher_web.dart:50:61: Error: No named parameter with the name 'isVisible'.
        .registerViewFactory(linkViewType, linkViewFactory, isVisible: false);
samueladekunle commented 2 years ago

I got this message in the console:

C:/Development/flutter/.pub-cache/hosted/pub.dartlang.org/platform-3.0.2/lib/src/interface/local_platform.dart:46:19: Error: Member not found: 'packageRoot'.
      io.Platform.packageRoot; // ignore: deprecated_member_use
                  ^^^^^^^^^^^
Failed to compile application.
ViAsmit commented 2 years ago

@samueladekunle Try these steps:

1.flutter pub upgrade

  1. flutter clean
  2. flutter pub get