mirror of
https://github.com/cake-tech/cake_wallet.git
synced 2024-12-22 19:49:22 +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 =
|
static const GeneratedLocalizationsDelegate delegate =
|
||||||
GeneratedLocalizationsDelegate();
|
GeneratedLocalizationsDelegate();
|
||||||
|
|
||||||
static S of(BuildContext context) => Localizations.of<S>(context, S);
|
static S of(BuildContext context) => Localizations.of<S>(context, S)!;
|
||||||
""";
|
""";
|
||||||
|
|
||||||
const part2 = """
|
const part2 = """
|
||||||
|
|
Loading…
Reference in a new issue