CelebrationFeedback.customAsset constructor
Your own audio file (path from your app's flutter: assets: list).
Implementation
factory CelebrationFeedback.customAsset(
String soundAssetPath, {
bool enableHaptics = true,
bool enableSound = true,
}) {
return CelebrationFeedback(
enableHaptics: enableHaptics,
enableSound: enableSound,
soundAssetPath: soundAssetPath,
);
}