SettingPanelManager class

设置面板管理器(注册表驱动)

SettingItemRegistry 查询设置项定义,动态构建横竖屏设置面板, 自身不包含任何硬编码的业务逻辑。

Registry-driven settings panel manager.

Queries SettingItemRegistry for setting item definitions and dynamically builds portrait/landscape panels without any hardcoded business logic.

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

showItemPanel({required BuildContext context, required AliPlayerWidgetController controller, required String elementKey}) Future<void>
按 elementKey 展示独立面板(通过 SettingItemRegistry 注册的面板动作)
showSettingPanel({required BuildContext context, required AliPlayerWidgetController controller, required SceneType sceneType, required Map<SlotType, Set<String>>? hiddenSlotElements}) Future<void>
显示设置面板(自动根据 orientation 选择横竖屏样式)