Skip to content

Commit da921f9

Browse files
authored
Stable release for null safety. (#2)
1 parent 0920acb commit da921f9

File tree

8 files changed

+96
-106
lines changed

8 files changed

+96
-106
lines changed

.github/workflows/flutter-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515

1616
- uses: subosito/[email protected]
1717
with:
18-
channel: 'dev'
18+
channel: 'beta'
1919

2020
- name: Doctor
2121
run: flutter doctor

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 2.0.0 - Mar 1, 2021
2+
3+
- Stable release for null safety.
4+
15
## 2.0.0-nullsafety.1 - Jan 21, 2021
26

37
- Makes `RxStreamBuilder` extends `StreamBuilder`.

example/pubspec.lock

Lines changed: 24 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -7,42 +7,42 @@ packages:
77
name: async
88
url: "https://pub.dartlang.org"
99
source: hosted
10-
version: "2.5.0-nullsafety.3"
10+
version: "2.5.0"
1111
boolean_selector:
1212
dependency: transitive
1313
description:
1414
name: boolean_selector
1515
url: "https://pub.dartlang.org"
1616
source: hosted
17-
version: "2.1.0-nullsafety.3"
17+
version: "2.1.0"
1818
characters:
1919
dependency: transitive
2020
description:
2121
name: characters
2222
url: "https://pub.dartlang.org"
2323
source: hosted
24-
version: "1.1.0-nullsafety.5"
24+
version: "1.1.0"
2525
charcode:
2626
dependency: transitive
2727
description:
2828
name: charcode
2929
url: "https://pub.dartlang.org"
3030
source: hosted
31-
version: "1.2.0-nullsafety.3"
31+
version: "1.2.0"
3232
clock:
3333
dependency: transitive
3434
description:
3535
name: clock
3636
url: "https://pub.dartlang.org"
3737
source: hosted
38-
version: "1.1.0-nullsafety.3"
38+
version: "1.1.0"
3939
collection:
4040
dependency: transitive
4141
description:
4242
name: collection
4343
url: "https://pub.dartlang.org"
4444
source: hosted
45-
version: "1.15.0-nullsafety.5"
45+
version: "1.15.0"
4646
cupertino_icons:
4747
dependency: "direct main"
4848
description:
@@ -56,14 +56,14 @@ packages:
5656
name: distinct_value_connectable_stream
5757
url: "https://pub.dartlang.org"
5858
source: hosted
59-
version: "1.2.0-nullsafety.2"
59+
version: "1.2.0-nullsafety.5"
6060
fake_async:
6161
dependency: transitive
6262
description:
6363
name: fake_async
6464
url: "https://pub.dartlang.org"
6565
source: hosted
66-
version: "1.2.0-nullsafety.3"
66+
version: "1.2.0"
6767
flutter:
6868
dependency: "direct main"
6969
description: flutter
@@ -75,14 +75,14 @@ packages:
7575
path: ".."
7676
relative: true
7777
source: path
78-
version: "2.0.0-nullsafety.1"
78+
version: "2.0.0"
7979
flutter_provider:
8080
dependency: transitive
8181
description:
8282
name: flutter_provider
8383
url: "https://pub.dartlang.org"
8484
source: hosted
85-
version: "2.0.0-nullsafety.0"
85+
version: "2.0.0"
8686
flutter_test:
8787
dependency: "direct dev"
8888
description: flutter
@@ -94,42 +94,42 @@ packages:
9494
name: matcher
9595
url: "https://pub.dartlang.org"
9696
source: hosted
97-
version: "0.12.10-nullsafety.3"
97+
version: "0.12.10"
9898
meta:
9999
dependency: transitive
100100
description:
101101
name: meta
102102
url: "https://pub.dartlang.org"
103103
source: hosted
104-
version: "1.3.0-nullsafety.6"
104+
version: "1.3.0"
105105
path:
106106
dependency: transitive
107107
description:
108108
name: path
109109
url: "https://pub.dartlang.org"
110110
source: hosted
111-
version: "1.8.0-nullsafety.3"
111+
version: "1.8.0"
112112
pedantic:
113113
dependency: "direct dev"
114114
description:
115115
name: pedantic
116116
url: "https://pub.dartlang.org"
117117
source: hosted
118-
version: "1.9.2"
118+
version: "1.10.0"
119119
rxdart:
120120
dependency: transitive
121121
description:
122122
name: rxdart
123123
url: "https://pub.dartlang.org"
124124
source: hosted
125-
version: "0.26.0-nullsafety.1"
125+
version: "0.26.0"
126126
rxdart_ext:
127127
dependency: "direct main"
128128
description:
129129
name: rxdart_ext
130130
url: "https://pub.dartlang.org"
131131
source: hosted
132-
version: "0.0.1-nullsafety.2"
132+
version: "0.0.1"
133133
sky_engine:
134134
dependency: transitive
135135
description: flutter
@@ -141,55 +141,55 @@ packages:
141141
name: source_span
142142
url: "https://pub.dartlang.org"
143143
source: hosted
144-
version: "1.8.0-nullsafety.4"
144+
version: "1.8.0"
145145
stack_trace:
146146
dependency: transitive
147147
description:
148148
name: stack_trace
149149
url: "https://pub.dartlang.org"
150150
source: hosted
151-
version: "1.10.0-nullsafety.6"
151+
version: "1.10.0"
152152
stream_channel:
153153
dependency: transitive
154154
description:
155155
name: stream_channel
156156
url: "https://pub.dartlang.org"
157157
source: hosted
158-
version: "2.1.0-nullsafety.3"
158+
version: "2.1.0"
159159
string_scanner:
160160
dependency: transitive
161161
description:
162162
name: string_scanner
163163
url: "https://pub.dartlang.org"
164164
source: hosted
165-
version: "1.1.0-nullsafety.3"
165+
version: "1.1.0"
166166
term_glyph:
167167
dependency: transitive
168168
description:
169169
name: term_glyph
170170
url: "https://pub.dartlang.org"
171171
source: hosted
172-
version: "1.2.0-nullsafety.3"
172+
version: "1.2.0"
173173
test_api:
174174
dependency: transitive
175175
description:
176176
name: test_api
177177
url: "https://pub.dartlang.org"
178178
source: hosted
179-
version: "0.2.19-nullsafety.6"
179+
version: "0.2.19"
180180
typed_data:
181181
dependency: transitive
182182
description:
183183
name: typed_data
184184
url: "https://pub.dartlang.org"
185185
source: hosted
186-
version: "1.3.0-nullsafety.5"
186+
version: "1.3.0"
187187
vector_math:
188188
dependency: transitive
189189
description:
190190
name: vector_math
191191
url: "https://pub.dartlang.org"
192192
source: hosted
193-
version: "2.1.0-nullsafety.5"
193+
version: "2.1.0"
194194
sdks:
195195
dart: ">=2.12.0-0.0 <3.0.0"

example/pubspec.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@ environment:
77
sdk: ">=2.12.0-0 <3.0.0"
88

99
dependencies:
10-
distinct_value_connectable_stream: ^1.2.0-nullsafety.2
11-
rxdart_ext: ^0.0.1-nullsafety.2
10+
distinct_value_connectable_stream: ^1.2.0-nullsafety.5
11+
rxdart_ext: ^0.0.1
1212
flutter_bloc_pattern:
1313
flutter:
1414
sdk: flutter
15-
cupertino_icons: ^1.0.1
15+
cupertino_icons: ^1.0.2
1616

1717
dev_dependencies:
18-
pedantic: ^1.9.0
18+
pedantic: ^1.10.0
1919
flutter_test:
2020
sdk: flutter
2121

lib/src/base.dart

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ class DisposeCallbackBaseBloc implements BaseBloc {
2020
// Function types
2121

2222
/// Represents a function that have no arguments and return no data.
23-
typedef VoidAction<R> = void Function();
23+
typedef VoidAction = void Function();
2424

2525
/// Represents a function with zero arguments: `() -> R`.
2626
typedef Func0<R> = R Function();

0 commit comments

Comments
 (0)