·Food as Medicine

Play sound from custom action

Actions & Logic

I am trying a custom action that looks at appstate before playing sound. Found this, but my code fails on loading asset. I looked at the code when playing a sound from a button and specified the same path to mp3 file.

What have you tried so far?

Tried page and action block but play sound not available

Did you check FlutterFlow's Documentation for this topic?
Yes
6 replies