PIbd-31_Yakovlev.M.G._PMU/lib/components/extensions/context_x.dart

6 lines
197 B
Dart

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