flutter/examples/platform_view
Alexandre Ardhuin 0fb84e96c7
Prefer void to null (#22977)
* Future<void> main

* Future<void>.delayed

* prefer_void_to_Null

* address review comments
2018-10-16 22:03:06 +02:00
..
2018-10-16 22:03:06 +02:00

Example of switching between full-screen Flutter and Platform View

This project demonstrates how to bring up a full-screen iOS/Android view from a full-screen Flutter view along with passing data back and forth between the two.

On iOS we use a CocoaPods dependency to add a Material Design button, and so pod install needs to be invoked in the ios/ folder before flutter run:

pushd ios/ ; pod install ; popd
flutter run