15 lines
367 B
Dart
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];
|
|
}
|