mirror of
https://github.com/flutter/packages.git
synced 2025-06-26 20:36:06 +08:00
[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 https://github.com/flutter/flutter/issues/102679
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
## 0.3.2+6
|
||||||
|
|
||||||
|
* Improves links in README.md.
|
||||||
|
|
||||||
## 0.3.2+5
|
## 0.3.2+5
|
||||||
|
|
||||||
* Updates `PendingRequest` to be a `base class` for Dart 3.0 compatibility.
|
* Updates `PendingRequest` to be a `base class` for Dart 3.0 compatibility.
|
||||||
|
@ -6,15 +6,9 @@ https://pub.dartlang.org/packages/multicast_dns)
|
|||||||
A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi.
|
A Dart package to do service discovery over multicast DNS (mDNS), Bonjour, and Avahi.
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
||||||
To use this package, add `multicast_dns` as a
|
To use this package, add `multicast_dns` as a
|
||||||
[dependency in your pubspec.yaml file](https://flutter.io/platform-plugins/).
|
[dependency in your pubspec.yaml file](https://pub.dev/packages/multicast_dns/install).
|
||||||
|
|
||||||
## Example
|
[The example](https://pub.dev/packages/multicast_dns/example) demonstrates how
|
||||||
|
to use the `MDnsClient` Dart class in your code.
|
||||||
Import the library via
|
|
||||||
``` dart
|
|
||||||
import 'package:multicast_dns/multicast_dns.dart';
|
|
||||||
```
|
|
||||||
|
|
||||||
Then use the `MDnsClient` Dart class in your code. To see how this is done,
|
|
||||||
check out the [example app](example/main.dart).
|
|
||||||
|
@ -2,7 +2,7 @@ name: multicast_dns
|
|||||||
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
|
description: Dart package for performing mDNS queries (e.g. Bonjour, Avahi).
|
||||||
repository: https://github.com/flutter/packages/tree/main/packages/multicast_dns
|
repository: https://github.com/flutter/packages/tree/main/packages/multicast_dns
|
||||||
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
|
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+multicast_dns%22
|
||||||
version: 0.3.2+5
|
version: 0.3.2+6
|
||||||
|
|
||||||
environment:
|
environment:
|
||||||
sdk: ">=3.0.0 <4.0.0"
|
sdk: ">=3.0.0 <4.0.0"
|
||||||
|
@ -13,7 +13,6 @@
|
|||||||
- image_picker_for_web
|
- image_picker_for_web
|
||||||
- in_app_purchase/in_app_purchase
|
- in_app_purchase/in_app_purchase
|
||||||
- ios_platform_images
|
- ios_platform_images
|
||||||
- multicast_dns
|
|
||||||
- palette_generator
|
- palette_generator
|
||||||
- pointer_interceptor
|
- pointer_interceptor
|
||||||
- quick_actions/quick_actions
|
- quick_actions/quick_actions
|
||||||
|
Reference in New Issue
Block a user