Skip to content

Commit a6fee37

Browse files
committed
feat(source): add logo url changed event for create source
Introduces the `CreateSourceLogoUrlChanged` event to handle updates to the new `logoUrl` field within the `CreateSourceBloc`.
1 parent 7f14793 commit a6fee37

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

lib/content_management/bloc/create_source/create_source_event.dart

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,14 @@ final class CreateSourceUrlChanged extends CreateSourceEvent {
3232
List<Object?> get props => [url];
3333
}
3434

35+
/// Event for when the source's logo URL is changed.
36+
final class CreateSourceLogoUrlChanged extends CreateSourceEvent {
37+
const CreateSourceLogoUrlChanged(this.logoUrl);
38+
final String logoUrl;
39+
@override
40+
List<Object?> get props => [logoUrl];
41+
}
42+
3543
/// Event for when the source's type is changed.
3644
final class CreateSourceTypeChanged extends CreateSourceEvent {
3745
const CreateSourceTypeChanged(this.sourceType);

0 commit comments

Comments
 (0)