Refactoring
This commit is contained in:
parent
93abbe76ba
commit
29008a3942
2 changed files with 5 additions and 52 deletions
|
|
@ -36,7 +36,6 @@ class I18n {
|
|||
}
|
||||
|
||||
static I18n of(BuildContext context) {
|
||||
if (context == null) return I18n('en');
|
||||
return Localizations.of<I18n>(context, I18n);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue