StreamLocalVideoThemeData class

Defines default property values for StreamLocalVideo widgets.

Mixed-in types
Annotations

Constructors

StreamLocalVideoThemeData({double localVideoWidth = 125, double localVideoHeight = 150, double localVideoPadding = 16, FloatingViewAlignment initialAlignment = FloatingViewAlignment.topRight, bool enableSnappingBehavior = true, StreamUserAvatarThemeData userAvatarTheme = const StreamUserAvatarThemeData(constraints: BoxConstraints.tightFor(height: 50, width: 50), borderRadius: BorderRadius.all(Radius.circular(25)), initialsTextStyle: TextStyle(fontSize: 16, fontWeight: FontWeight.bold, color: Colors.white)), BorderRadius borderRadius = const BorderRadius.all(Radius.circular(16)), Color shadowColor = const Color(0xFF212121)})
Creates a new instance of StreamLocalVideoThemeData.
const

Properties

borderRadius BorderRadius
The border radius of the local video.
final
enableSnappingBehavior bool
If the local video should be automatically anchored to one of the corners.
final
hashCode int
The hash code for this object.
no setteroverride
initialAlignment FloatingViewAlignment
The initial position of the local video view.
final
localVideoHeight double
The height of the local video item.
final
localVideoPadding double
The padding between local video item and StreamCallParticipants borders.
final
localVideoWidth double
The width of the local video item.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shadowColor Color
The color of shadow.
final
userAvatarTheme StreamUserAvatarThemeData
The theme for the avatar.
final

Methods

copyWith({double? localVideoWidth, double? localVideoHeight, double? localVideoPadding, FloatingViewAlignment? initialAlignment, bool? enableSnappingBehavior, StreamUserAvatarThemeData? userAvatarTheme, BorderRadius? borderRadius, Color? shadowColor}) StreamLocalVideoThemeData
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(StreamLocalVideoThemeData other, double t) StreamLocalVideoThemeData
Linearly interpolate between two StreamLocalVideoThemeData themes.
merge(StreamLocalVideoThemeData? other) StreamLocalVideoThemeData
Merges one StreamLocalVideoThemeData 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