in lib/utils/scene_util.dart [61:73]
bool _shouldExecute(
AliPlayerWidgetData? widgetData,
Set<SceneType>? targetScenes,
bool isMatched,
) {
// 如果 targetScenes 为空或 null,则默认执行逻辑
if (targetScenes == null || targetScenes.isEmpty) {
return true;
}
return widgetData != null &&
targetScenes.contains(widgetData.sceneType) == isMatched;
}