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