Skip to content

Commit 6878d3d

Browse files
committed
Small readme change
1 parent b24fe58 commit 6878d3d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ Usually there is just one Event Bus per application, but more than one may be
4949
set up to group a specific set of events.
5050

5151
```dart
52+
import 'package:event_bus/event_bus.dart';
53+
5254
EventBus eventBus = new EventBus();
5355
```
5456

@@ -65,8 +67,6 @@ EventBus eventBus = new EventBus.hierarchical();
6567
Any Dart class can be used as an event.
6668

6769
```dart
68-
import 'package:event_bus/event_bus.dart';
69-
7070
class UserLoggedInEvent {
7171
User user;
7272

0 commit comments

Comments
 (0)