AliPlayerWidgetController constructor
AliPlayerWidgetController(
- BuildContext _context
播放器组件控制器构造函数,用于创建 AliPlayerWidgetController 实例。
Constructor to create an instance of AliPlayerWidgetController.
参数:
_context
:当前 Widget 的上下文,必须提供,用于初始化控制器并与 UI 层交互。
Parameters:
- _context: The context of the current widget, required for initializing the controller and interacting with the UI layer.
Implementation
AliPlayerWidgetController(this._context) {
logi("[lifecycle] construct", tag: _logTag);
_init();
}