Skip to content

Commit cb6dbcd

Browse files
[multicast_dns] Adjust README (#5529)
- Improves link targets to be more directly useful. - Removes the unnecessary code sections showing an import, since the install tab already demonstrates that. - Removes the no-longer-needed exemption from the excerpt requirement. Part of flutter/flutter#102679
1 parent 51174d1 commit cb6dbcd

File tree

4 files changed

+9
-12
lines changed

4 files changed

+9
-12
lines changed

packages/multicast_dns/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## 0.3.2+6
2+
3+
* Improves links in README.md.
4+
15
## 0.3.2+5
26

37
* Updates `PendingRequest` to be a `base class` for Dart 3.0 compatibility.

packages/multicast_dns/README.md

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,9 @@ https://pub.dartlang.org/packages/multicast_dns)
66
A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi.
77

88
## Usage
9-
To use this package, add `multicast_dns` as a
10-
[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
11-
12-
## Example
139

14-
Import the library via
15-
``` dart
16-
import 'package:multicast_dns/multicast_dns.dart';
17-
```
10+
To use this package, add `multicast_dns` as a
11+
[dependency in your pubspec.yaml file](https://pub.dev/packages/multicast_dns/install).
1812

19-
Then use the `MDnsClient` Dart class in your code. To see how this is done,
20-
check out the [example app](example/main.dart).
13+
[The example](https://pub.dev/packages/multicast_dns/example) demonstrates how
14+
to use the `MDnsClient` Dart class in your code.

packages/multicast_dns/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: multicast_dns
22
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
33
repository: https://github.com/flutter/packages/tree/main/packages/multicast_dns
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
5-
version: 0.3.2+5
5+
version: 0.3.2+6
66

77
environment:
88
sdk: ">=3.0.0 <4.0.0"

script/configs/temp_exclude_excerpt.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
- image_picker_for_web
1414
- in_app_purchase/in_app_purchase
1515
- ios_platform_images
16-
- multicast_dns
1716
- palette_generator
1817
- pointer_interceptor
1918
- quick_actions/quick_actions

0 commit comments

Comments
 (0)