Skip to content

A very lite module to play system sounds and beep for flutter apps (no sound files)

License

Notifications You must be signed in to change notification settings

antonio-petricca/flutter_beep

 
 

Repository files navigation

flutter_beep

A very lite module to play system sounds and beep for flutter apps (no sound files)

Sponsor by

Go Noter app - Group travel and expenses assistant!

import 'package:flutter_beep/flutter_beep.dart';

RaisedButton( child: Text("Beep Success"), onPressed: ()=> FlutterBeep.beep()),
RaisedButton( child: Text("Beep Fail"), onPressed: ()=> FlutterBeep.beep(false)),
RaisedButton( child: Text("Beep Android Custom"), onPressed: ()=> FlutterBeep.playSysSound(AndroidSoundIDs.TONE_CDMA_ABBR_ALERT)),
RaisedButton( child: Text("Beep somthing"), onPressed: ()=> FlutterBeep.playSysSound(41)),
RaisedButton( child: Text("Beep iOS Custom"), onPressed: ()=> FlutterBeep.playSysSound(iOSSoundIDs.AudioToneBusy)),

LICENSE: FREE

About

A very lite module to play system sounds and beep for flutter apps (no sound files)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 56.2%
  • Ruby 23.9%
  • Java 10.8%
  • Objective-C 9.1%