native_cast_player 0.1.0
native_cast_player: ^0.1.0 copied to clipboard
Native video player with YouTube-style AirPlay casting on iOS: AVPlayer external playback, paused-frame keep-alive for third-party TVs. Chromecast planned.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add native_cast_playerThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
native_cast_player: ^0.1.0Alternatively, 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:native_cast_player/native_cast_player.dart';