Refactor of translation lookup!

This commit is contained in:
Oliver Walters committed 2021-05-19 23:33:28 +10:00
1 parent b86025013d
commit 2a3e83509f
26 files changed
+339 -353

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
import 'package:flutter_gen/gen_l10n/app_localizations.dart';
import 'package:one_context/one_context.dart';
// Shortcut function to reduce boilerplate!
I18N L10()
{
return I18N.of(OneContext().context);
}