mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-11-17 01:37:40 +00:00
Add force unwrap for localization builder from BuildContext
This commit is contained in:
parent
016a153e8d
commit
067d720cf3
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ class S implements WidgetsLocalizations {
|
|||
static const GeneratedLocalizationsDelegate delegate =
|
||||
GeneratedLocalizationsDelegate();
|
||||
|
||||
static S of(BuildContext context) => Localizations.of<S>(context, S);
|
||||
static S of(BuildContext context) => Localizations.of<S>(context, S)!;
|
||||
""";
|
||||
|
||||
const part2 = """
|
||||
|
|
Loading…
Reference in a new issue