buildMediaItemContent method

  1. @override
Widget buildMediaItemContent(
  1. MediaItem item
)
override

Build the widget visually representing the MediaItem's history tile.

Implementation

@override
Widget buildMediaItemContent(MediaItem item) {
  return Container(
    padding: Spacing.of(context).insets.all.normal,
    child: Row(
      children: [
        SizedBox(
          width: 180,
          child: buildThumbnail(item),
        ),
        const SizedBox(width: 8),
        Expanded(
          child: buildMetadata(item),
        ),
      ],
    ),
  );
}