t top-level property
Method A: Simple
No rebuild after locale change. Translation happens during initialization of the widget (call of t). Configurable via 'translate_var'.
Usage:
String a = t.someKey.anotherKey;
String b = t'someKey.anotherKey'
; // Only for edge cases!
Implementation
_StringsEn get t => LocaleSettings.instance.currentTranslations;