Animation API improvements (#21540)
This commit is contained in:
@@ -188,7 +188,7 @@ The returned `params` will contain:
|
||||
- `emulatorName` - the name of the emulator created; this will have been auto-generated if you did not supply one
|
||||
- `error` - when `success`=`false`, a message explaining why the creation of the emulator failed
|
||||
|
||||
## 'flutter run --machine' and 'flutter attach --machine'
|
||||
## 'flutter run --machine' and 'flutter attach --machine'
|
||||
|
||||
When running `flutter run --machine` or `flutter attach --machine` the following subset of the daemon is available:
|
||||
|
||||
|
||||
@@ -80,7 +80,7 @@ suitable only when the Flutter part declares no plugin dependencies.
|
||||
#### host_app_ephemeral_cocoapods
|
||||
|
||||
Written to `.ios/` on top of `host_app_ephemeral`.
|
||||
|
||||
|
||||
Adds CocoaPods support.
|
||||
|
||||
Combined contents define an ephemeral host app suitable for when the
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import Flutter
|
||||
import UIKit
|
||||
|
||||
|
||||
public class Swift{{pluginClass}}: NSObject, FlutterPlugin {
|
||||
public static func register(with registrar: FlutterPluginRegistrar) {
|
||||
let channel = FlutterMethodChannel(name: "{{projectName}}", binaryMessenger: registrar.messenger())
|
||||
|
||||
@@ -15,7 +15,7 @@ Pod::Spec.new do |s|
|
||||
s.source_files = 'Classes/**/*'
|
||||
s.public_header_files = 'Classes/**/*.h'
|
||||
s.dependency 'Flutter'
|
||||
|
||||
|
||||
s.ios.deployment_target = '8.0'
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user