Add toString for TabChangedEvent

This commit is contained in:
Neeraj Gupta 2022-06-10 11:29:49 +05:30
parent 3bb37d4e4b
commit 29b7aa7b7d
No known key found for this signature in database
GPG key ID: 3C5A1684DC1729E1

View file

@ -8,6 +8,11 @@ class TabChangedEvent extends Event {
this.selectedIndex,
this.source,
);
@override
String toString() {
return 'TabChangedEvent{selectedIndex: $selectedIndex, source: $source}';
}
}
enum TabChangedEventSource {