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

Am I missing something? #4

Closed
jonafeucht opened this issue Jun 15, 2020 · 3 comments
Closed

Am I missing something? #4

jonafeucht opened this issue Jun 15, 2020 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@jonafeucht
Copy link

Describe the bug
I'm getting Another exception was thrown: A non-null String must be provided to a Text widget. when trying to access json subtree.

This is how the json file looks like

{
"bob": {
"text1": "Hello"
}
}

And this is how I'm getting it Text(EzLocalization.of(context).get("bob.text1"),),

@jonafeucht jonafeucht added the bug Something isn't working label Jun 15, 2020
@Skyost
Copy link
Owner

Skyost commented Jun 15, 2020

Am I missing something?

I don't know, it also depends on your files structure, your current MaterialApp, ... Please follow the steps described here and tell me back.

@jonafeucht
Copy link
Author

jonafeucht commented Jun 15, 2020

Am I missing something?

I don't know, it also depends on your files structure, your current MaterialApp, ... Please follow the steps described here and tell me back.

Massive facepalm on my part. My phone was on the wrong locale this whole time. lol
Sorry for taking up your time.

@Skyost
Copy link
Owner

Skyost commented Jun 15, 2020

No problem 😉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants