We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7641a97 commit 054f984Copy full SHA for 054f984
lib/l10n/l10n.dart
@@ -3,5 +3,5 @@ import 'package:flutter_gen/gen_l10n/app_localizations.dart';
3
export 'package:flutter_gen/gen_l10n/app_localizations.dart';
4
5
extension AppLocalizationsX on BuildContext {
6
- AppLocalizations get l10n => AppLocalizations.of(this);
+ AppLocalizations get l10n => AppLocalizations.of(this)!;
7
}
0 commit comments