flutter_to_airplay 2.1.0
flutter_to_airplay: ^2.1.0 copied to clipboard
Flutter plugin that offers two widgets, one to play a video for given url or file path using native AVPlayer and second with an option to airplay it on available Apple devices.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_to_airplayThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
flutter_to_airplay: ^2.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:flutter_to_airplay/flutter_to_airplay.dart';