From 2d29c62590d31d705fd10f2414dbbc820d5aca29 Mon Sep 17 00:00:00 2001 From: Michael Thomsen Date: Thu, 23 Mar 2017 14:16:42 +0100 Subject: [PATCH] Update links to platform services -> channels (#8975) --- examples/platform_services/README.md | 4 ++-- packages/flutter/lib/src/services/platform_channel.dart | 4 ++-- packages/flutter/lib/src/services/platform_messages.dart | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/platform_services/README.md b/examples/platform_services/README.md index 6c3d5ee4d7..0d3906796b 100644 --- a/examples/platform_services/README.md +++ b/examples/platform_services/README.md @@ -1,9 +1,9 @@ # Example of calling platform services from Flutter -This project demonstrates how to connect a Flutter app to platform specific services. +This project demonstrates how to connect a Flutter app to platform specific services. You can read more about -[accessing platform and third-party services in Flutter](https://flutter.io/platform-services/). +[accessing platform and third-party services in Flutter](https://flutter.io/platform-channels/). ## iOS You can use the commands `flutter build` and `flutter run` from the app's root diff --git a/packages/flutter/lib/src/services/platform_channel.dart b/packages/flutter/lib/src/services/platform_channel.dart index c9baf84186..2c8fef59b3 100644 --- a/packages/flutter/lib/src/services/platform_channel.dart +++ b/packages/flutter/lib/src/services/platform_channel.dart @@ -26,7 +26,7 @@ import 'platform_messages.dart'; /// one message handler can be registered with the channel name at any given /// time. /// -/// See: +/// See: class PlatformMessageChannel { /// Creates a [PlatformMessageChannel] with the specified [name] and [codec]. /// @@ -102,7 +102,7 @@ class PlatformMessageChannel { /// The identity of the channel is given by its name, so other uses of that name /// with may interfere with this channel's communication. /// -/// See: +/// See: class PlatformMethodChannel { /// Creates a [PlatformMethodChannel] with the specified [name]. /// diff --git a/packages/flutter/lib/src/services/platform_messages.dart b/packages/flutter/lib/src/services/platform_messages.dart index 10a1bc5836..51303cca49 100644 --- a/packages/flutter/lib/src/services/platform_messages.dart +++ b/packages/flutter/lib/src/services/platform_messages.dart @@ -20,7 +20,7 @@ typedef Future _PlatformMessageHandler(ByteData message); /// * [PlatformMethodChannel], which provides higher-level platform /// communication such as method invocations and event streams. /// -/// See: +/// See: class PlatformMessages { PlatformMessages._();