Skip to content
This repository has been archived by the owner on Jun 8, 2022. It is now read-only.

Does not compile anymore #6

Open
michaelcspeed opened this issue Mar 7, 2022 · 1 comment
Open

Does not compile anymore #6

michaelcspeed opened this issue Mar 7, 2022 · 1 comment

Comments

@michaelcspeed
Copy link

../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/page_router-0.0.3/lib/page_router.dart:59:21: Error: The argument type 'List<String>' can't be assigned to the parameter type 'String'.
 - 'List' is from 'dart:core'.
      trie.add(path.split(key), routes[key]);
                    ^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/page_router-0.0.3/lib/page_router.dart:134:34: Error: The argument type 'List<String>' can't be assigned to the parameter type 'String'.
 - 'List' is from 'dart:core'.
    var trieData = trie.get(path.split(routeName));
                                 ^
../../Development/flutter/.pub-cache/hosted/pub.dartlang.org/page_router-0.0.3/lib/page_router.dart:151:40: Error: The argument type 'List<String>' can't be assigned to the parameter type 'String'.
 - 'List' is from 'dart:core'.
          var trieData = trie.get(path.split(routeName));
                                       ^


FAILURE: Build failed with an exception.

Including the library in my project gives me this error

@michaelcspeed
Copy link
Author

michaelcspeed commented May 19, 2022

Please include a flutter doctor output

Edit: oops, replying to myself haha

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant