File tree 4 files changed +9
-7
lines changed
4 files changed +9
-7
lines changed Original file line number Diff line number Diff line change 59
59
# Add macos-latest and/or windows-latest if relevant for this package.
60
60
os : [ubuntu-latest]
61
61
# Bump SDK for Legacy tests when changing min SDK.
62
- sdk : [3.1 , dev]
62
+ sdk : [3.4 , dev]
63
63
steps :
64
64
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683
65
65
- uses : dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94
Original file line number Diff line number Diff line change 1
1
## 2.1.2-wip
2
2
3
+ - Require Dart 3.4 or greater.
4
+
3
5
## 2.1.1
4
6
5
7
- Require Dart 3.1 or greater
Original file line number Diff line number Diff line change 2
2
// for details. All rights reserved. Use of this source code is governed by a
3
3
// BSD-style license that can be found in the LICENSE file.
4
4
5
- import 'dart:html' ;
6
-
7
5
import 'package:stream_transform/stream_transform.dart' ;
6
+ import 'package:web/web.dart' ;
8
7
9
8
void main () {
10
- var firstInput = document.querySelector ('#first_input' ) as InputElement ;
11
- var secondInput = document.querySelector ('#second_input' ) as InputElement ;
9
+ var firstInput = document.querySelector ('#first_input' ) as HTMLInputElement ;
10
+ var secondInput = document.querySelector ('#second_input' ) as HTMLInputElement ;
12
11
var output = document.querySelector ('#output' )! ;
13
12
14
13
_inputValues (firstInput)
@@ -21,6 +20,6 @@ void main() {
21
20
});
22
21
}
23
22
24
- Stream <String ?> _inputValues (InputElement element) => element.onKeyUp
23
+ Stream <String ?> _inputValues (HTMLInputElement element) => element.onKeyUp
25
24
.debounce (const Duration (milliseconds: 100 ))
26
25
.map ((_) => element.value);
Original file line number Diff line number Diff line change @@ -4,10 +4,11 @@ description: A collection of utilities to transform and manipulate streams.
4
4
repository : https://github.com/dart-lang/tools/tree/main/pkgs/stream_transform
5
5
6
6
environment :
7
- sdk : ^3.1 .0
7
+ sdk : ^3.4 .0
8
8
9
9
dev_dependencies :
10
10
async : ^2.5.0
11
11
dart_flutter_team_lints : ^3.0.0
12
12
fake_async : ^1.3.0
13
13
test : ^1.16.0
14
+ web : ^1.1.0
You can’t perform that action at this time.
0 commit comments