jbh_ringtone 1.0.2
jbh_ringtone: ^1.0.2 copied to clipboard
A Flutter plugin that provides easy access to device ringtones on Android and iOS platforms. Get real ringtone names, IDs, and URIs with a simple API.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add jbh_ringtoneThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
jbh_ringtone: ^1.0.2Alternatively, 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:jbh_ringtone/jbh_ringtone.dart';