
Pinning the package:web dependency constrains downstream packages from using newer versions and making sure they support the version pinned in Flutter. Since the usage of package:web in Flutter is light, we should instead have a small shim like the engine and keep package:web as a dev dependency only.
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