PIbd31_Razubaev.S.M._PMU/lib/components/extension/context_x.dart

7 lines
200 B
Dart
Raw Normal View History

2024-10-17 10:44:09 +04:00
import 'package:flutter/widgets.dart';
import 'package:flutter_app/components/locale/l10n/app_locale.dart';
extension LocalContextX on BuildContext {
AppLocale get locale => AppLocale.of(this)!;
}