flutter_playout 1.0.6 flutter_playout: ^1.0.6 copied to clipboard
AV Playout in Flutter. This plugin provides audio/video playback from a URL with background audio support and lock screen controls for both iOS and Android. Also provides player events such as onPlay, [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add flutter_playout
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
flutter_playout: ^1.0.6
Alternatively, 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_playout/audio.dart';
import 'package:flutter_playout/player_observer.dart';
import 'package:flutter_playout/player_state.dart';
import 'package:flutter_playout/video.dart';