StreamIncomingCallContent class

Represents the Incoming Call state and UI, when the user is called by other people.

Inheritance

Constructors

StreamIncomingCallContent({Key? key, required Call call, @Deprecated(PartialStateDeprecationMessage.callState) CallState? callState, VoidCallback? onAcceptCallTap, VoidCallback? onDeclineCallTap, VoidCallback? onMicrophoneTap, VoidCallback? onCameraTap, StreamUserAvatarThemeData? singleParticipantAvatarTheme, StreamUserAvatarThemeData? multipleParticipantAvatarTheme, TextStyle? singleParticipantTextStyle, TextStyle? multipleParticipantTextStyle, TextStyle? callingLabelTextStyle, @Deprecated('Use participantsAvatarWidgetBuilder instead.') ParticipantsAvatarBuilder? participantsAvatarBuilder, CallWidgetBuilderWithData<ParticipantsData>? participantsAvatarWidgetBuilder, @Deprecated('Use participantsDisplayNameWidgetBuilder instead.') ParticipantsDisplayNameBuilder? participantsDisplayNameBuilder, CallWidgetBuilderWithData<ParticipantsData>? participantsDisplayNameWidgetBuilder})
const

Properties

call Call
Represents a call.
final
callingLabelTextStyle TextStyle?
Text style for the calling label.
final
callState CallState?
Holds information about the call.
final
hashCode int
The hash code for this object.
no setterinherited
key Key?
Controls how one widget replaces another widget in the tree.
finalinherited
multipleParticipantAvatarTheme StreamUserAvatarThemeData?
Theme for the avatar in a call with multiple participants.
final
multipleParticipantTextStyle TextStyle?
Text style for the participant label in a call with multiple participants.
final
onAcceptCallTap VoidCallback?
The action to perform when the accept call button is tapped.
final
onCameraTap VoidCallback?
The action to perform when the camera button is tapped.
final
onDeclineCallTap VoidCallback?
The action to perform when the decline call button is tapped.
final
onMicrophoneTap VoidCallback?
The action to perform when the microphone button is tapped.
final
participantsAvatarBuilder ParticipantsAvatarBuilder?
Builder used to create a custom widget for participants avatars.
final
participantsAvatarWidgetBuilder CallWidgetBuilderWithData<ParticipantsData>?
Builder used to create a custom widget for participants avatars.
final
participantsDisplayNameBuilder ParticipantsDisplayNameBuilder?
Builder used to create a custom widget for participants display names.
final
participantsDisplayNameWidgetBuilder CallWidgetBuilderWithData<ParticipantsData>?
Builder used to create a custom widget for participants display names.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
singleParticipantAvatarTheme StreamUserAvatarThemeData?
Theme for the avatar in a call with one participant.
final
singleParticipantTextStyle TextStyle?
Text style for the participant label in a call with one participant.
final

Methods

createElement() StatefulElement
Creates a StatefulElement to manage this widget's location in the tree.
inherited
createState() State<StreamIncomingCallContent>
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, int wrapWidth = 65}) 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