AgoraScreen class

A widget that displays the connected video.

Specify AgoraUser obtained from AgoraController.value in value.

You can specify the size by specifying width and height.

You can specify icons, etc. for disconnection by using iconSize, disabledColor, disabledBackgroundColor, disabled, etc.

接続されている映像を表示するウィジェット。

valueAgoraController.valueから取得したAgoraUserを指定します。

widthheightを指定してサイズを指定できます。

iconSizedisabledColordisabledBackgroundColordisabled等を利用して、切断時のアイコン等を指定できます。

Inheritance

Constructors

AgoraScreen({Key? key, required AgoraUser? value, double iconSize = 48.0, Color? disabledColor, Color? disabledBackgroundColor, Widget? disabled, double? height, double? width, bool useAndroidSurfaceView = false, bool useFlutterTexture = false})
A widget that displays the connected video.
const

Properties

disabled Widget?
Widget to display when disconnected.
final
disabledBackgroundColor Color?
Background color at disconnection.
final
disabledColor Color?
The color of the icon when disconnected.
final
hashCode int
The hash code for this object.
no setterinherited
height double?
Specifies the height of the screen.
final
iconSize double
Icon size to be displayed when disconnected.
final
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
useAndroidSurfaceView bool
For Android, true if SurfaceView is used; for non-Android, no change.
final
useFlutterTexture bool
true` if drawing using Flutter's Texture.
final
value AgoraUser?
Specify AgoraUser obtained from AgoraController.value.
final
width double?
Specifies the width of the screen.
final

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.
override
debugDescribeChildren() List<DiagnosticsNode>
Returns a list of DiagnosticsNode objects describing this node's children.
inherited
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
inherited
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent 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.
inherited