native_shutter_sound 0.0.1 copy "native_shutter_sound: ^0.0.1" to clipboard
native_shutter_sound: ^0.0.1 copied to clipboard

A simple flutter plugin, that lets you play the native shutter sound for iOS and Android.

native_shutter_sound #

A simple flutter plugin, that lets you play the native shutter sound for iOS and Android.

This plugin can be useful if you develop a custom camera screen, and you want to play the default shutter sound you get when you take a photo using the camera app on the device.

Getting Started #

First, add native_shutter_sound as a dependency in your pubspec.yaml file.

Example #

import 'package:native_shutter_sound/native_shutter_sound.dart';
    ...
    ElevatedButton(
        onPressed: () {
            NativeShutterSound.play();
        },
        child: const Text('Play Sound'),
    )
    ...
8
likes
140
pub points
89%
popularity

Publisher

unverified uploader

A simple flutter plugin, that lets you play the native shutter sound for iOS and Android.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on native_shutter_sound