TextureView class Null safety
TextureView 类。
在 Android 平台对应 TextureView。 在 iOS 平台对应 FlutterTexture。Constructors
-
TextureView({Key? key, required int uid, String? channelId, dynamic renderMode = VideoRenderMode.Hidden, dynamic mirrorMode = VideoMirrorMode.Auto, PlatformViewCreatedCallback? onPlatformViewCreated, Set<
Factory< ? gestureRecognizers})OneSequenceGestureRecognizer> > - Constructs a TextureView
Properties
- channelId → String?
-
标识通话的频道名称,长度在 64 字节以内的字符串。以下为支持的字符集范围(共 89 个字符): [...]
final, inherited
-
gestureRecognizers
→ Set<
Factory< ?OneSequenceGestureRecognizer> > -
指定 Web 视图使用的手势。 [...]
final, inherited
- hashCode → int
-
The hash code for this object. [...]
@nonVirtual, read-only, inherited
- key → Key?
-
Controls how one widget replaces another widget in the tree. [...]
final, inherited
- mirrorMode → VideoMirrorMode
-
视频的镜像模式。
final, inherited
- onPlatformViewCreated → PlatformViewCreatedCallback?
-
创建平台视图回调。 [...]
final, inherited
- renderMode → VideoRenderMode
-
视频视图的渲染模式。
final, inherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-only, inherited
- uid → int
-
用户 ID。
final, inherited
Methods
-
createElement(
) → StatefulElement -
Creates a
StatefulElement
to manage this widget's location in the tree. [...]inherited -
createState(
) → State< StatefulWidget> -
Creates the mutable state for this widget at a given location in the tree. [...]
inherited
-
debugDescribeChildren(
) → List< DiagnosticsNode> -
Returns a list of
DiagnosticsNode
objects describing this node's children. [...]@protected, inherited -
debugFillProperties(
DiagnosticPropertiesBuilder properties) → void -
Add additional properties associated with the node. [...]
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a non-existent method or property is accessed. [...]
inherited
-
toDiagnosticsNode(
{String? name, DiagnosticsTreeStyle? style}) → DiagnosticsNode -
Returns a debug representation of the object that is used by debugging
tools and by
DiagnosticsNode.toStringDeep
. [...]inherited -
toString(
{DiagnosticLevel minLevel = DiagnosticLevel.info}) → String -
A string representation of this object. [...]
inherited
-
toStringDeep(
{String prefixLineOne = '', String? prefixOtherLines, DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a string representation of this node and its descendants. [...]
inherited
-
toStringShallow(
{String joiner = ', ', DiagnosticLevel minLevel = DiagnosticLevel.debug}) → String -
Returns a one-line detailed description of the object. [...]
inherited
-
toStringShort(
) → String -
A short, textual description of this widget.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator. [...]
@nonVirtual, inherited