How to create Flutter minimized app controls

Viewed 1399

Note: this is not a push notification

I would like to know how I can create a minimized controls-widget for my Flutter app. A place where I can add a few buttons, examples are:

  • Play/pause, next, previous (for a music app)
  • Start, stop (for a timer app)
  • Single input box (for a quick reply section)

Most music player apps have this functionality, when you "minimize" the app, then you end up with something like this:

enter image description here

1 Answers

You can use the audio_service plugin. This enables the Flutter app send playback requests to platform-specific media standard callbacks.

Related