system_media_controller 0.0.1 system_media_controller: ^0.0.1 copied to clipboard
System Media Control package is a Flutter package that allows you to control the media on the system.(only android)
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add system_media_controller
copied to clipboard
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
system_media_controller: ^0.0.1
copied to clipboard
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:system_media_controller/system_media_controller.dart';
copied to clipboard