Skip to content

Commit

Permalink
Prepare release v2.0.0 with null safety
Browse files Browse the repository at this point in the history
  • Loading branch information
marcojakob committed Mar 4, 2021
1 parent 3d7f52d commit 0147330
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 11 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## Version 2.0.0 (2021-03-04)

- Migrate to null safety.

This comment has been minimized.

Copy link
@denish786

denish786 Jul 28, 2021

snvsvnsvknslvmnv

## Version 1.1.1 (2020-01-21)

- Fix homepage URL.
Expand Down
4 changes: 0 additions & 4 deletions analysis_options.yaml

This file was deleted.

10 changes: 8 additions & 2 deletions example/example.dart
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,14 @@ class Listener {
Listener(this.element) {
output = element.querySelector('textarea') as TextAreaElement;
// Init buttons.
element.querySelector('.listen-a')!.onClick.listen((_) => listenForEventA());
element.querySelector('.listen-b')!.onClick.listen((_) => listenForEventB());
element
.querySelector('.listen-a')!
.onClick
.listen((_) => listenForEventA());
element
.querySelector('.listen-b')!
.onClick
.listen((_) => listenForEventB());
element.querySelector('.pause')!.onClick.listen((_) => pause());
element.querySelector('.resume')!.onClick.listen((_) => resume());
element.querySelector('.cancel')!.onClick.listen((_) => cancel());
Expand Down
6 changes: 1 addition & 5 deletions pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,13 @@
name: event_bus
version: 1.1.1
version: 2.0.0
author: Marco Jakob <[email protected]>
description: A simple Event Bus using Dart Streams for decoupling applications
repository: https://github.com/marcojakob/dart-event-bus
homepage: https://code.makery.ch/library/dart-event-bus/
environment:
sdk: '>=2.0.0 <3.0.0'
sdk: '>=2.12.0 <3.0.0'
dev_dependencies:
build_runner: ^1.2.5
build_web_compilers: ^1.1.0
build_test: ^0.10.3
logging: ^0.11.0
build_web_compilers: ^2.16.4
build_test: ^1.3.7
logging: ^1.0.0
Expand Down

0 comments on commit 0147330

Please sign in to comment.