Skip to content

Commit 3ba2701

Browse files
committed
feat(source): add logo url changed event for edit source
Introduces the `EditSourceLogoUrlChanged` event. This allows the UI to notify the `EditSourceBloc` when the user modifies the `logoUrl` field, enabling state updates for the editing workflow.
1 parent 9a78f04 commit 3ba2701

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

lib/content_management/bloc/edit_source/edit_source_event.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,16 @@ final class EditSourceUrlChanged extends EditSourceEvent {
4343
List<Object?> get props => [url];
4444
}
4545

46+
/// Event triggered when the source logo URL input changes.
47+
final class EditSourceLogoUrlChanged extends EditSourceEvent {
48+
const EditSourceLogoUrlChanged(this.logoUrl);
49+
50+
final String logoUrl;
51+
52+
@override
53+
List<Object?> get props => [logoUrl];
54+
}
55+
4656
/// Event triggered when the source type input changes.
4757
final class EditSourceTypeChanged extends EditSourceEvent {
4858
const EditSourceTypeChanged(this.sourceType);

0 commit comments

Comments
 (0)