StreamIncomingOutgoingCallThemeData class

Defines default property values for StreamIncomingCallContent and StreamOutgoingCallContent widgets.

Mixed-in types
Annotations

Constructors

StreamIncomingOutgoingCallThemeData({StreamUserAvatarThemeData singleParticipantAvatarTheme = const StreamUserAvatarThemeData(initialsTextStyle: TextStyle(fontSize: 32, fontWeight: FontWeight.bold, color: Colors.white), constraints: BoxConstraints(minHeight: 160, minWidth: 160), borderRadius: BorderRadius.all(Radius.circular(80))), StreamUserAvatarThemeData multipleParticipantAvatarTheme = const StreamUserAvatarThemeData(initialsTextStyle: TextStyle(fontSize: 28, fontWeight: FontWeight.bold, color: Colors.white), constraints: BoxConstraints(minHeight: 80, minWidth: 80), borderRadius: BorderRadius.all(Radius.circular(40))), TextStyle singleParticipantTextStyle = const TextStyle(fontSize: 28, color: Colors.white, fontWeight: FontWeight.bold), TextStyle multipleParticipantTextStyle = const TextStyle(fontSize: 20, color: Colors.white), TextStyle callingLabelTextStyle = const TextStyle(fontSize: 20, color: Colors.white, fontWeight: FontWeight.bold)})
Creates a new instance of StreamIncomingOutgoingCallThemeData.
const

Properties

callingLabelTextStyle TextStyle
Text style for the calling label.
final
hashCode int
The hash code for this object.
no setteroverride
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
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

copyWith({StreamUserAvatarThemeData? singleParticipantAvatarTheme, StreamUserAvatarThemeData? multipleParticipantAvatarTheme, TextStyle? singleParticipantTextStyle, TextStyle? multipleParticipantTextStyle, TextStyle? callingLabelTextStyle}) StreamIncomingOutgoingCallThemeData
Creates a copy of this object with the given fields replaced with the new values.
debugFillProperties(DiagnosticPropertiesBuilder properties) → void
Add additional properties associated with the node.
override
lerp(StreamIncomingOutgoingCallThemeData other, double t) StreamIncomingOutgoingCallThemeData
Linearly interpolate between two StreamIncomingOutgoingCallThemeData themes.
merge(StreamIncomingOutgoingCallThemeData? other) StreamIncomingOutgoingCallThemeData
Merges one StreamIncomingOutgoingCallThemeData with the another.
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
toStringShort() String
A brief description of this object, usually just the runtimeType and the hashCode.
inherited

Operators

operator ==(Object other) bool
The equality operator.
override