shouldPlaceholderBeShown property

  1. @override
bool shouldPlaceholderBeShown
override

This variable is true when the buildPlaceholder should be shown. For example, if a certain media type does not have any media items to show in its history.

Implementation

@override
bool get shouldPlaceholderBeShown =>
    appModel.getMediaTypeHistory(mediaType: mediaType).isEmpty;