This repository has been archived by the owner on Jun 27, 2021. It is now read-only.
The name 'Router' is defined in the libraries ' #7
Comments
Hey, this error comes with the new update of Flutter SDK, because the Router is a preexisting class of SDK. You can fix it in two ways..
|
Yeh i have already done that..But m8 it works on debug ,But when i run (flutter build apk) apk have many problem |
Like only some features are loading .Eg:Only news load rest there is no option to go back |
This was referenced May 18, 2021
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The name 'Router' is defined in the libraries 'package:flutter/src/widgets/router.dart' and 'package:inshort_clone/routes/routesgr.dart'.
Try using 'as prefix' for one of the import directives, or hiding the name from all but one of the imports.
The text was updated successfully, but these errors were encountered: