playerctl 1.1.1
playerctl: ^1.1.1 copied to clipboard
A Flutter plugin for Linux that provides robust media playback control using playerctl CLI with multi-player support and automatic error recovery.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add playerctlThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
playerctl: ^1.1.1Alternatively, 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:playerctl/playerctl.dart';