play 0.0.41 play: ^0.0.41 copied to clipboard
a library dart simple for play audio or video any format on cross platform.
Use this package as an executable
Install it
You can install the package from the command line:
dart pub global activate play
Use it
The package has the following executables:
$ play
$ play_cli
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add play
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
play: ^0.0.41
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:play/play.dart';