samples/platform_view_swift
Branden Taylor 479d12e1df TransferableTypeData added () 6 years ago
..
assets Add platform_view_swift based on platform_view example () 7 years ago
ios TransferableTypeData added () 6 years ago
lib Removed redundant "const" and "new" assignments & Formatted code. () 6 years ago
test Analysis options () 6 years ago
.gitignore Clean up .gitignore and checked in files () 6 years ago
README.md Add platform_view_swift based on platform_view example () 7 years ago
analysis_options.yaml Tweaked pubspecs, linted. () 6 years ago
pubspec.lock Tweaked pubspecs, linted. () 6 years ago
pubspec.yaml Tweaked pubspecs, linted. () 6 years ago

README.md

Example of switching between full-screen Flutter and Platform View

This project demonstrates how to bring up a full-screen iOS 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