This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +21
-13
lines changed
packages/url_launcher/url_launcher_web Expand file tree Collapse file tree 3 files changed +21
-13
lines changed Original file line number Diff line number Diff line change
1
+ # 0.1.0
2
+
3
+ - Update docs and pubspec.
4
+
1
5
# 0.0.2
2
6
3
7
- Switch to using ` url_launcher_platform_interface ` .
Original file line number Diff line number Diff line change @@ -4,22 +4,27 @@ The web implementation of [`url_launcher`][1].
4
4
5
5
## Usage
6
6
7
+ ### Import the package
7
8
To use this plugin in your Flutter Web app, simply add it as a dependency in
8
- your pubspec using a ` git ` dependency. This is only temporary: in the future
9
- we hope to make this package an "endorsed" implementation of ` url_launcher ` ,
10
- so that it is automatically included in your Flutter Web app when you depend
11
- on ` package:url_launcher ` .
9
+ your pubspec alongside the base ` url_launcher ` plugin.
10
+
11
+ _ (This is only temporary: in the future we hope to make this package an
12
+ "endorsed" implementation of ` url_launcher ` , so that it is automatically
13
+ included in your Flutter Web app when you depend on ` package:url_launcher ` .)_
14
+
15
+ This is what the above means to your ` pubspec.yaml ` :
12
16
13
17
``` yaml
18
+ ...
14
19
dependencies :
20
+ ...
15
21
url_launcher : ^5.1.4
16
- url_launcher_web :
17
- git :
18
- url : git://github.com/flutter/plugins.git
19
- path : packages/url_launcher/url_launcher_web
22
+ url_launcher_web : ^0.1.0
23
+ ...
20
24
```
21
25
26
+ ### Use the plugin
22
27
Once you have the ` url_launcher_web ` dependency in your pubspec, you should
23
28
be able to use ` package:url_launcher ` as normal.
24
29
25
- [1] : ../url_launcher
30
+ [ 1 ] : ../url_launcher/url_launcher
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ name: url_launcher_web
2
2
description : Web platform implementation of url_launcher
3
3
author :
Flutter Team <[email protected] >
4
4
homepage : https://github.com/flutter/plugins/tree/master/packages/url_launcher/url_launcher_web
5
- version : 0.0.2
5
+ version : 0.1.0
6
6
7
7
flutter :
8
8
plugin :
@@ -12,18 +12,17 @@ flutter:
12
12
fileName : url_launcher_web.dart
13
13
14
14
dependencies :
15
+ url_launcher_platform_interface : ^1.0.1
15
16
flutter :
16
17
sdk : flutter
17
18
flutter_web_plugins :
18
19
sdk : flutter
19
20
meta : ^1.1.7
20
- url_launcher_platform_interface : ^1.0.1
21
21
22
22
dev_dependencies :
23
23
flutter_test :
24
24
sdk : flutter
25
- url_launcher :
26
- path : ../url_launcher
25
+ url_launcher : ^5.2.5
27
26
28
27
environment :
29
28
sdk : " >=2.0.0-dev.28.0 <3.0.0"
You can’t perform that action at this time.
0 commit comments