hasVideo property

bool hasVideo

Whether there are videos in preview/selected assets. 当前正在预览或已选的资源是否有视频

Implementation

bool get hasVideo =>
    previewAssets.any((AssetEntity e) => e.type == AssetType.video) ||
    (selectedAssets?.any((AssetEntity e) => e.type == AssetType.video) ??
        false);