flutter_beep_new 1.2.0 copy "flutter_beep_new: ^1.2.0" to clipboard
flutter_beep_new: ^1.2.0 copied to clipboard

Play system beeps and tones on Android and iOS without bundling sound files. Lightweight fork of flutter_beep with modern Gradle, Kotlin, and Swift Package Manager support.

flutter_beep_new #

Play system beeps and tones on Android and iOS without shipping audio files.

Maintained fork of flutter_beep with:

  • Android plugin in Kotlin (Gradle Kotlin DSL, built-in Kotlin)
  • iOS plugin with CocoaPods and Swift Package Manager
  • Minimum Flutter 3.44

Installation #

Add to pubspec.yaml:

dependencies:
  flutter_beep_new: ^1.2.0

Then run:

flutter pub get

Usage #

import 'package:flutter_beep_new/flutter_beep_new.dart';

// Default success / failure beep (platform-specific sound IDs)
await FlutterBeep.beep();
await FlutterBeep.beep(false);

// Custom system sound by ID
await FlutterBeep.playSysSound(AndroidSoundIDs.TONE_PROP_BEEP);
await FlutterBeep.playSysSound(iOSSoundIDs.AudioToneBusy);

Sound ID constants #

  • AndroidSoundIDs — Android ToneGenerator constants
  • iOSSoundIDs — iOS AudioServices system sound IDs

See the example app for more samples.

Platform notes #

Platform API
Android ToneGenerator via method channel
iOS AudioServicesPlaySystemSound via method channel

On Android, playSysSound stops any previous tone before playing a new one.

Go Noter — group travel and expenses assistant.

License #

BSD-3-Clause. See LICENSE.

0
likes
150
points
58
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Play system beeps and tones on Android and iOS without bundling sound files. Lightweight fork of flutter_beep with modern Gradle, Kotlin, and Swift Package Manager support.

Repository (GitHub)
View/report issues

License

BSD-3-Clause (license)

Dependencies

flutter

More

Packages that depend on flutter_beep_new

Packages that implement flutter_beep_new