dev
dart 32 lines 678 Bytes
Raw
1 part of 'card_customizer_bloc.dart';
2
3 @immutable
4 sealed class CardCustomizerEvent {}
5
6 class _Init extends CardCustomizerEvent {}
7
8 class CardDesignSelected extends CardCustomizerEvent {
9 final int newDesignIndex;
10
11 CardDesignSelected(this.newDesignIndex);
12 }
13
14 class ColorSelected extends CardCustomizerEvent {
15 final int newColorIndex;
16
17 ColorSelected(this.newColorIndex);
18 }
19
20 class AccountNameChanged extends CardCustomizerEvent {
21 final String newAccountName;
22
23 AccountNameChanged(this.newAccountName);
24 }
25
26 class DesignSaved extends CardCustomizerEvent {}
27
28 class IconStyleSelected extends CardCustomizerEvent {
29 final int iconIndex;
30
31 IconStyleSelected(this.iconIndex);
32 }