mpv_kit 0.1.0-dev.3
mpv_kit: ^0.1.0-dev.3 copied to clipboard
Complete, low-overhead Dart FFI bindings for libmpv (mpv 0.41, client API 2.5): the full client API, mpv_node conversion, an isolate-safe event loop and a typed high-level Player. Rendering lives in m [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mpv_kitWith Flutter:
$ flutter pub add mpv_kitThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mpv_kit: ^0.1.0-dev.3Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:mpv_kit/mpv_kit.dart';