Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in
Toggle navigation
F
Front-End
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abdullh.alsoleman
Front-End
Commits
2d29c625
Commit
2d29c625
authored
Mar 23, 2017
by
Michael Thomsen
Committed by
GitHub
Mar 23, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update links to platform services -> channels (#8975)
parent
18db5a2e
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
README.md
examples/platform_services/README.md
+2
-2
platform_channel.dart
packages/flutter/lib/src/services/platform_channel.dart
+2
-2
platform_messages.dart
packages/flutter/lib/src/services/platform_messages.dart
+1
-1
No files found.
examples/platform_services/README.md
View file @
2d29c625
...
...
@@ -3,7 +3,7 @@
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-
service
s/
)
.
[
accessing platform and third-party services in Flutter
](
https://flutter.io/platform-
channel
s/
)
.
## iOS
You can use the commands
`flutter build`
and
`flutter run`
from the app's root
...
...
packages/flutter/lib/src/services/platform_channel.dart
View file @
2d29c625
...
...
@@ -26,7 +26,7 @@ import 'platform_messages.dart';
/// one message handler can be registered with the channel name at any given
/// time.
///
/// See: <https://flutter.io/platform-
service
s/>
/// See: <https://flutter.io/platform-
channel
s/>
class
PlatformMessageChannel
<
T
>
{
/// Creates a [PlatformMessageChannel] with the specified [name] and [codec].
///
...
...
@@ -102,7 +102,7 @@ class PlatformMessageChannel<T> {
/// 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: <https://flutter.io/platform-
service
s/>
/// See: <https://flutter.io/platform-
channel
s/>
class
PlatformMethodChannel
{
/// Creates a [PlatformMethodChannel] with the specified [name].
///
...
...
packages/flutter/lib/src/services/platform_messages.dart
View file @
2d29c625
...
...
@@ -20,7 +20,7 @@ typedef Future<ByteData> _PlatformMessageHandler(ByteData message);
/// * [PlatformMethodChannel], which provides higher-level platform
/// communication such as method invocations and event streams.
///
/// See: <https://flutter.io/platform-
service
s/>
/// See: <https://flutter.io/platform-
channel
s/>
class
PlatformMessages
{
PlatformMessages
.
_
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment