youtube_player_darwin 0.1.2
youtube_player_darwin: ^0.1.2 copied to clipboard
iOS and macOS implementation of the youtube_player plugin, hosting the YouTube IFrame Player API in a minimal WKWebView driven through Pigeon Native Interop (FFI).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add youtube_player_darwinThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
youtube_player_darwin: ^0.1.2Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:youtube_player_darwin/youtube_player_darwin.dart';