slot/slot library

插槽系统

提供播放器 UI 插槽的类型定义、元素常量和配置管理能力, 支持自定义插槽替换和元素级隐藏。

Slot system

Provides slot type definitions, element constants, and configuration management for the player UI, supporting custom slot replacement and element-level hiding.

Classes

BottomBarElements
底部栏元素 key 常量
CenterDisplayElements
中心显示元素 key 常量
DefaultSlotFactory
内置插槽的默认构建器注册表。 Default builder registry for built-in slots.
PlayControlElements
播放控制手势元素 key 常量
PlayStateElements
播放状态元素 key 常量
SeekThumbnailElements
Seek 缩略图元素 key 常量
SettingMenuElements
设置菜单元素 key 常量
SlotBuildContext
插槽构建所需的依赖集合。 Dependencies required for building built-in slots.
SlotConfig
插槽显示配置
SlotConstants
插槽常量定义类。
SlotManager
插槽管理器
SlotType
插槽类型定义
TopBarElements
顶部栏元素 key 常量

Extensions

HiddenElementsExt on Set<String>?
隐藏元素集合的扩展方法

Typedefs

SlotBuilder = Widget Function(double width, double height)
插槽内容构建器,根据宽高创建插槽内容 Widget。