TikTokVideoController<T> class
abstract
抽象类,作为视频控制器必须实现这些方法
- Implementers
Constructors
Properties
- controller → T?
-
获取当前的控制器实例
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
showPauseIcon
→ ValueNotifier<
bool> -
是否显示暂停按钮
no setter
Methods
-
dispose(
) → Future< void> - 视频销毁,在dispose后,应当释放任何内存资源
-
init(
{ControllerSetter< T> ? afterInit}) → Future<void> - 加载视频,在init后,应当开始下载视频内容
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
pause(
{bool showPauseIcon = false}) → Future< void> - 暂停
-
play(
) → Future< void> - 播放
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited