I've made a Flutter plugin (sirikit_media_intents) to support SiriKit Media Intents in a Flutter app. Its source code may be a good starting point to implement your solution. For more details, you could have a look at this other answer: https://stackoverflow.com/a/79399875/5528924.