Skip to content
pubscout

flutter_system_ringtones

1.1.2, released 4 months ago by imed.dev

Flutter plugin to list and preview system ringtones, alarms and notifications on Android and iOS.

WASM-ready
$ flutter pub add flutter_system_ringtones
Source repository

What it does

Provides APIs to fetch lists of system ringtones, alarms and notification sounds, and to play or stop a preview of any selected sound natively. It uses Android’s RingtoneManager and iOS’s AVAudioPlayer under the hood.

AI-written summary of version 1.1.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need to display or let users preview the device’s built‑in ringtones, alarms or notification sounds.
  • You want a lightweight solution with no runtime dependencies for simple sound enumeration and previewing.
  • You are targeting Android and iOS and need native playback without adding a full audio player package.

Skip it when

  • You need advanced audio playback features such as streaming, equalizer, or custom audio effects.
  • You require a completion callback or event stream for when a preview finishes.
  • You are building a cross‑platform app that also needs to record audio or stream from a remote source.

Strengths

  • Zero runtime dependencies – no extra packages bundled.
  • Native preview playback with a single API call.
  • Simple, imperative API that works out of the box on Android and iOS.
  • Supports both Android and iOS with minimal platform‑specific code.

Weaknesses

  • iOS system sound path is undocumented and may change between iOS versions.
  • No completion or progress callbacks for preview playback.
  • Only one sound can play at a time; no event stream for state changes.

Setup

Kind
Plugin (native code)
Effort
Low
Code generation
No
Direct dependencies
0
import 'package:flutter_system_ringtones/flutter_system_ringtones.dart';

final ringtones = await FlutterSystemRingtones.getRingtoneSounds();
await FlutterSystemRingtones.play(ringtones.first);

Alternatives

Packages that do the same job and could replace flutter_system_ringtones.