ios_system_sound 0.0.2
ios_system_sound: ^0.0.2 copied to clipboard
Playing UI Sound Effects or Invoking Vibration Using System Sound Services on iOS. 使用系统声音服务(System Sound Services)播放 iOS 系统 UI 音效或触发振动的 Flutter 插件。
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add ios_system_soundThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
ios_system_sound: ^0.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:ios_system_sound/ios_system_sound.dart';