I'm using the i18n plugin for Flutter
(I believe it's this one) that comes with Android Studio
.
And in every example I see it says to use S.of(context).my_string
to get the Strings
but it always returns null
.
If I use S.current.my_string
, it seems to work.
So is S.current
the right way to do it and every doc/tutorial out there is wrong, are they the same or what?
What I'm basically asking here, is what is the difference between them.