forked from eatvio/eatvio_app
New screen names
This commit is contained in:
15
lib/theme/bloc/theme_event.dart
Normal file
15
lib/theme/bloc/theme_event.dart
Normal file
@@ -0,0 +1,15 @@
|
||||
part of 'theme_bloc.dart';
|
||||
|
||||
@immutable
|
||||
abstract class ThemeEvent extends Equatable {}
|
||||
|
||||
class ThemeChangeEvent extends ThemeEvent {
|
||||
ThemeChangeEvent({required this.themeType}) : super() {
|
||||
PrefUtils().setThemeData(themeType);
|
||||
}
|
||||
|
||||
final String themeType;
|
||||
|
||||
@override
|
||||
List<Object?> get props => [];
|
||||
}
|
||||
Reference in New Issue
Block a user