mirror of
https://github.com/Such-Software/hash-wallet.git
synced 2026-10-17 05:41:29 +02:00
Add force unwrap for localization builder from BuildContext
This commit is contained in:
@@ -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 = """
|
||||
|
||||
Reference in New Issue
Block a user