notification static method

Future<void> notification({
  1. required UMediaMetadata metadata,
  2. bool showSeekBar = true,
})

Shows/updates the lock-screen and notification controls for the current track.

Implementation

static Future<void> notification({required UMediaMetadata metadata, bool showSeekBar = true}) => controller.setNotification(metadata: metadata, showSeekBar: showSeekBar);