PMU-PIbd-32-Fedorenko-G-Y/flutter_app/lib/components/extensions/context_x.dart

6 lines
199 B
Dart

import 'package:flutter_app/components/locale/l10n/app_locale.dart';
import 'package:flutter/widgets.dart';
extension LocalContextX on BuildContext {
AppLocale get locale => AppLocale.of(this)!;
}