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

Undefined name #19

Closed
hanskokx opened this issue Jun 3, 2020 · 3 comments
Closed

Undefined name #19

hanskokx opened this issue Jun 3, 2020 · 3 comments
Labels
question Further information is requested

Comments

@hanskokx
Copy link

hanskokx commented Jun 3, 2020

I'm going through and trying to implement this for the first time. I think I've got everything in place, but I get this message:

image

Can you explain what's going on, and offer a suggestion for how to resolve this?

@aloisdeniel
Copy link
Owner

aloisdeniel commented Jun 3, 2020

Make sure you have this dependency in your pubspec.yaml :

dependencies:
  flutter_localizations: 
    sdk: flutter

@aloisdeniel aloisdeniel added the question Further information is requested label Jun 3, 2020
@hanskokx
Copy link
Author

hanskokx commented Jun 3, 2020

That did the trick. Thanks for the quick response! Maybe update the wiki with all the package requirements? :)

@hanskokx hanskokx closed this as completed Jun 3, 2020
@aloisdeniel
Copy link
Owner

aloisdeniel commented Jun 3, 2020

Actually, you're not forced to import those extra localization providers. It is although pretty common to add them for translating the default widgets.

I could add a note about it. :)

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

No branches or pull requests

2 participants