Flutter Intl - the getter was called on null

124 views Asked by At

I am attempting to internationalize a flutter application using the Android Studio/VS Code Flutter Intl plugin. I can get the S.of(context).value to work throughout the app in widgets I've made myself and basic Text widgets but when I use it in Flutter widgets (Text Form field, list tile, drop down menu item, dropdown button, etc) I get the "NoSuchMethodError: the getter 'value' was called on null. It seems like there might be an issue between the static pieces of the Flutter widgets and the dynamic nature of the internationalized text?

Is there a way to correct this without making all of my own widgets?

0

There are 0 answers