mirror of
https://github.com/SyncrowIOT/web.git
synced 2025-07-09 22:57:21 +00:00
33 lines
672 B
Dart
33 lines
672 B
Dart
import 'package:equatable/equatable.dart';
|
|
|
|
abstract class SettingEvent extends Equatable {
|
|
const SettingEvent();
|
|
|
|
@override
|
|
List<Object> get props => [];
|
|
}
|
|
|
|
class InitialEvent extends SettingEvent {
|
|
final String selectedIcon;
|
|
const InitialEvent({required this.selectedIcon});
|
|
|
|
@override
|
|
List<Object> get props => [selectedIcon];
|
|
}
|
|
|
|
class FetchIcons extends SettingEvent {
|
|
final bool expanded;
|
|
const FetchIcons({required this.expanded});
|
|
|
|
@override
|
|
List<Object> get props => [expanded];
|
|
}
|
|
|
|
class SelectIcon extends SettingEvent {
|
|
final String iconId;
|
|
const SelectIcon({required this.iconId});
|
|
|
|
@override
|
|
List<Object> get props => [iconId];
|
|
}
|