2024-12-16 19:00:34 +04:00

15 lines
367 B
Dart

import 'dart:ui';
import 'package:equatable/equatable.dart';
class LocaleState extends Equatable {
final Locale currentLocale;
const LocaleState({required this.currentLocale});
LocaleState copyWith({Locale? currentLocale}) =>
LocaleState(currentLocale: currentLocale ?? this.currentLocale);
@override
List<Object?> get props => [currentLocale];
}