♻️ Re-designed bottom nav
This commit is contained in:
13
lib/services/event_bus.dart
Normal file
13
lib/services/event_bus.dart
Normal file
@@ -0,0 +1,13 @@
|
||||
import 'package:event_bus/event_bus.dart';
|
||||
|
||||
/// Global event bus instance for the application
|
||||
final eventBus = EventBus();
|
||||
|
||||
/// Event fired when a post is successfully created
|
||||
class PostCreatedEvent {
|
||||
final String? postId;
|
||||
final String? title;
|
||||
final String? content;
|
||||
|
||||
const PostCreatedEvent({this.postId, this.title, this.content});
|
||||
}
|
||||
Reference in New Issue
Block a user