VideoCallWidget class

通话逻辑-2个主视图

Inheritance

Constructors

VideoCallWidget(Key key, String agoraAppKey, AgoraRtmClient rtmClient, String userId, String name, String portraitUri, int meUid, bool call, bool direct, {VideoCallDelegate? delegate, Widget? closeWidget, int type = 0, int? toyCost, MatchEntity? matchEntity, int videoMatchTime = 0, int videoMatchDownTime = 0, double bottomBarHeight = 0, bool gui = false, bool position = false, double? left, double? top, double? right, double? bottom, double? borderRadius})
const

Properties

agoraAppKey String
final
borderRadius double?
final
bottom double?
final
bottomBarHeight double
final
call bool
final
closeWidget Widget?
final
delegate VideoCallDelegate?
final
direct bool
final
gui bool
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
left double?
final
matchEntity → MatchEntity?
final
meUid int
final
name String
final
portraitUri String
final
position bool
final
final
rtmClient → AgoraRtmClient
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
top double?
final
toyCost int?
final
type int
final
userId String
final
videoMatchDownTime int
final
videoMatchTime int
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() VideoCallWidgetState
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