Skip to content

Instantly share code, notes, and snippets.

@aduquet
Created March 27, 2022 11:52
Show Gist options
  • Save aduquet/64065002c9549052a56cfea9200a81a3 to your computer and use it in GitHub Desktop.
Save aduquet/64065002c9549052a56cfea9200a81a3 to your computer and use it in GitHub Desktop.
I got an exceotion with 'type 'Null' is not a subtype of type 'String' ' in flutter
I got an exceotion with 'type 'Null' is not a subtype of type 'String' ' in flutter
════════ Exception caught by widgets library ═══════════════════════════════════
type 'Null' is not a subtype of type 'String'
════════════════════════════════════════════════════════════════════════════════
The problem was that my json file has some interger. then, I just fixed my json file with all strings :D and done!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment