extraActions method
- MediaItem item
override
Extra actions to supply to a history page.
Implementation
@override
List<Widget> extraActions(MediaItem item) {
MediaSource source = item.getMediaSource(appModel: appModel);
return [
if (source is PlayerYoutubeSource) buildChannelButton(item),
if (source is PlayerLocalMediaSource) buildDirectoryButton(item),
];
}