flutter/examples/platform_channel_swift
Yegor 3c56e6c77d
Use mixin syntax for Flutter's super-mixins (#22435)
* first pass

* revert WidgetsBindingObserver

* disable prefer_mixin

* docs and more mixins

* newer engine; binding fixes

* upgrade dependencies

* fix test binding

* remove whitespace

* remove the obsolete `enableSuperMixins: true`

* upgrade dartdoc to 0.22.0

* temporarily use git version of dartdoc

* fix pub global activate syntax

* use dartdoc 0.23.0
2018-10-05 14:54:41 -07:00
..
ios Improve Swift usage in platform_channel_swift some more (#22318) 2018-09-27 13:44:16 -07:00
lib Unnecessary new (#20138) 2018-09-12 08:29:29 +02:00
test_driver Shim package:test to avoid matcher issues (#20602) 2018-08-14 20:33:58 -07:00
pubspec.yaml Use mixin syntax for Flutter's super-mixins (#22435) 2018-10-05 14:54:41 -07:00
README.md Add swift version of Platform Channel example (#9098) 2017-03-30 15:11:19 +02:00

Example of calling platform services from Flutter

This project demonstrates how to connect a Flutter app to platform specific services on iOS using Swift. The equivalent version of this project in Objective C is found in examples/platform_channel.

You can read more about accessing platform and third-party services in Flutter.

iOS

You can use the commands flutter build and flutter run from the app's root directory to build/run the app or you can open ios/Runner.xcworkspace in Xcode and build/run the project as usual.

Android

We refer to the platform_channel project.