cameraSound method
void
cameraSound({
- dynamic vibration = true,
Implementation
void cameraSound({vibration = true}) {
if (_pool != null && _soundId != null) _pool!.play(_soundId!);
if (vibration) HapticFeedback.heavyImpact();
}