GridVideoController class
宫格/双Feed 小视频控制器
负责管理 GridVideoNativeView 对应的原生实例,提供刷新、滚动、暂停等方法。
Constructors
Properties
Methods
-
backRefresh(
) → Future< void> - 返回场景时的挽留刷新
-
canBackPress(
) → Future< bool> - 校验返回键是否可以直接关闭页面
-
dispose(
) → Future< void> - 销毁视频实例并清理状态
-
initialize(
String videoId) → void - 由 Widget 内部调用,初始化视频 ID
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
refresh(
) → Future< void> - 刷新宫格/双Feed 数据
-
scrollToTop(
) → Future< void> - 滚动到顶部
-
setUserVisible(
bool isVisible) → Future< void> - 控制可见性(配合 Tab 切换暂停/恢复播放)
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited