Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lib/routers/routers.dart:2:1: Error: 'Router' is imported from both 'package:fluro/src/router.dart' and 'package:flutter/src/widgets/router.dart'. import 'package:flutter/material.dart'; #64367

Closed
chenyongze opened this issue Aug 21, 2020 · 4 comments

Comments

@chenyongze
Copy link

Steps to Reproduce

  1. ...
  2. ...
  3. ...

Logs

@BananaNeil
Copy link

For anyone else running into this issue, I changed my flutter/material.dart import to this:

import 'package:flutter/material.dart' hide Router;

@lmr520
Copy link

lmr520 commented Oct 14, 2020

good job

@valehasadli
Copy link

For anyone else running into this issue, I changed my flutter/material.dart import to this:

import 'package:flutter/material.dart' hide Router;

Thank you very much! <3

@github-actions
Copy link

github-actions bot commented Aug 9, 2021

This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of flutter doctor -v and a minimal reproduction of the issue.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Aug 9, 2021
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

5 participants