snapshot of https://github.com/flutter/samples.git (main, 2026-09-16; blobs > 131072B omitted)
Some checks failed
Main Branch CI / Test Flutter beta on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter stable on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter beta on macos-latest (push) Has been cancelled
Main Branch CI / Test Flutter stable on macos-latest (push) Has been cancelled
Some checks failed
Main Branch CI / Test Flutter beta on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter stable on ubuntu-latest (push) Has been skipped
Main Branch CI / Test Flutter beta on macos-latest (push) Has been cancelled
Main Branch CI / Test Flutter stable on macos-latest (push) Has been cancelled
This commit is contained in:
33
platform_view_swift/README.md
Normal file
33
platform_view_swift/README.md
Normal file
@@ -0,0 +1,33 @@
|
||||
# platform_view_swift
|
||||
|
||||
A Flutter sample app that combines a native iOS UIViewController
|
||||
with a full-screen Flutter view.
|
||||
|
||||
## Goals for this sample
|
||||
|
||||
* Show a simple technique for combining native and Flutter views.
|
||||
|
||||
## The important bits
|
||||
|
||||
### `lib/main.dart`
|
||||
|
||||
The Flutter part of the application is quite simple, and all the action
|
||||
takes place in a single file.
|
||||
|
||||
### `ios/Runner/PlatformViewController.swift` and `AppDelegate.swift`
|
||||
|
||||
These files contain the Swift code responsible for setting up a platform
|
||||
channel, launching a native UIViewController, and returning control to
|
||||
Flutter when finished.
|
||||
|
||||
## Questions/issues
|
||||
|
||||
If you have a general question about Flutter, the best places to go are:
|
||||
|
||||
* [The FlutterDev Google Group](https://groups.google.com/forum/#!forum/flutter-dev)
|
||||
* [The Flutter Gitter channel](https://gitter.im/flutter/flutter)
|
||||
* [StackOverflow](https://stackoverflow.com/questions/tagged/flutter)
|
||||
|
||||
If you run into an issue with the sample itself, please file an issue
|
||||
in the [main Flutter repo](https://github.com/flutter/flutter/issues).
|
||||
|
||||
Reference in New Issue
Block a user