File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed
packages/devtools_app_shared Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style license that can be found
3
3
// in the LICENSE file.
4
4
5
- // ignore: avoid_web_libraries_in_flutter, as designed
6
- import 'dart:html' ;
7
-
8
5
import 'package:flutter/widgets.dart' ;
9
6
import 'package:logging/logging.dart' ;
7
+ import 'package:web/helpers.dart' ;
10
8
11
9
import '../../utils/url/url.dart' ;
12
10
import '../../utils/utils.dart' ;
Original file line number Diff line number Diff line change 2
2
// Use of this source code is governed by a BSD-style license that can be found
3
3
// in the LICENSE file.
4
4
5
- // ignore: avoid_web_libraries_in_flutter, as designed
6
- import 'dart:html' ;
5
+ import 'package:web/helpers.dart' ;
7
6
8
7
Map <String , String > loadQueryParams ({String Function (String )? urlModifier}) {
9
8
var url = getWebUrl ()! ;
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ dependencies:
16
16
meta : ^1.9.1
17
17
pointer_interceptor : ^0.9.3+3
18
18
vm_service : ^12.0.0
19
+ web : ^0.3.0
19
20
20
21
dev_dependencies :
21
22
flutter_lints : ^2.0.3
You can’t perform that action at this time.
0 commit comments