MediaDisplayStyle class final

Media style for music/podcast player notifications.

Inheritance

Constructors

MediaDisplayStyle({required String title, String? artist, String? album, NotifyImage? albumArt, required bool isPlaying, Duration? duration, Duration? position, List<NotifyAction>? actions, List<int>? compactActionIndices})
const

Properties

actions → List<NotifyAction>?
final
album → String?
final
albumArt → NotifyImage?
final
artist → String?
final
compactActionIndices → List<int>?
final
duration → Duration?
final
hashCode → int
The hash code for this object.
no setterinherited
isPlaying → bool
final
position → Duration?
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
title → String
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
Serializes to a map for platform channel communication.
override
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited