imedboumalek / flutter_system_ringtones

An Android & iOS plugin to retrieve a list of system ringtones using native API's

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flutter_system_ringtones

An Android & iOS (WIP) plugin to dynamically retrieve a list of system sounds using native API's

Getting Started

Import the package

import 'package:flutter_system_ringtones/flutter_system_ringtones.dart';

Get a list of available sounds

await FlutterSystemRingtones.getRingtoneSounds();

Get a list of available alarm sounds

await FlutterSystemRingtones.getAlarmSounds();

Get a list of available notification sounds

await FlutterSystemRingtones.getNotificationSounds();

TODO

  • Android: Get a list of available ringtones dynamically

  • iOS: Get a list of available ringtones dynamically (Help Needed)

  • Write tests

About

An Android & iOS plugin to retrieve a list of system ringtones using native API's

License:MIT License


Languages

Language:Dart 61.2%Language:Kotlin 19.1%Language:Ruby 11.0%Language:Swift 4.7%Language:Objective-C 4.0%