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

Import don't work #21

Closed
luizjacomn opened this issue May 25, 2019 · 2 comments
Closed

Import don't work #21

luizjacomn opened this issue May 25, 2019 · 2 comments

Comments

@luizjacomn
Copy link

When I add the import statement import 'packages:flutter_cupertino_date_picker/flutter_cupertino_date_picker.dart'; an compilatio error appears:

Target of URI doesn't exist: 'packages:flutter_cupertino_date_picker/flutter_cupertino_date_picker.dart'.

@dylanwuzh
Copy link
Owner

I created a new project, didn't appear this error. Please check your code.

  1. Add the dependencies in pubspec.yaml file:
dependencies:
  flutter_cupertino_date_picker: ^1.0.0+1
  1. Execute the cmd:
flutter packages get

@luizjacomn
Copy link
Author

It's working! Thanks man.

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

No branches or pull requests

2 participants