mpv_kit_video 0.1.0-dev.2
mpv_kit_video: ^0.1.0-dev.2 copied to clipboard
Flutter video output for mpv_kit: zero-copy Vulkan rendering into Flutter textures (D3D11 shared textures on Windows, GL memory objects on Linux, IOSurface on macOS) with a software fallback.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add mpv_kit_videoWith Flutter:
$ flutter pub add mpv_kit_videoThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
mpv_kit_video: ^0.1.0-dev.2Alternatively, 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_video/mpv_kit_video.dart';