StreamLobbyViewThemeData class
Defines default property values for StreamLobbyView widgets.
- Mixed-in types
- Annotations
Constructors
- StreamLobbyViewThemeData({Color cardBackgroundColor = const Color(0xFFF2F2F2), Color backgroundColor = Colors.white, StreamUserAvatarThemeData userAvatarTheme = const StreamUserAvatarThemeData(constraints: BoxConstraints.tightFor(height: 100, width: 100), borderRadius: BorderRadius.all(Radius.circular(50)), initialsTextStyle: TextStyle(fontSize: 32, fontWeight: FontWeight.bold, color: Colors.white), selectionColor: Color(0xFF005FFF), selectionThickness: 4), StreamUserAvatarThemeData participantAvatarTheme = 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), selectionColor: Color(0xFF005FFF), selectionThickness: 4), double participantListHeight = 90, Color optionOffBackgroundColor = const Color(0xFFDC433B), Color optionOffIconColor = Colors.white})
-
Creates a new instance of StreamLobbyViewThemeData.
const
Properties
- backgroundColor → Color
-
The color of the background behind avatar.
final
- cardBackgroundColor → Color
-
The color of the focus border.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- optionOffBackgroundColor → Color
-
The color of the background of microphone/camera options when they are off.
final
- optionOffIconColor → Color
-
The color of the icon of microphone/camera options when they are off.
final
- participantAvatarTheme → StreamUserAvatarThemeData
-
Theme for the participant avatar.
final
- participantListHeight → double
-
Theme for the participant list height.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- userAvatarTheme → StreamUserAvatarThemeData
-
Theme for the avatar.
final
Methods
-
copyWith(
{Color? backgroundColor, Color? cardBackgroundColor, StreamUserAvatarThemeData? userAvatarTheme, StreamUserAvatarThemeData? participantAvatarTheme, double? participantListHeight, Color? optionOffBackgroundColor, Color? optionOffIconColor}) → StreamLobbyViewThemeData - 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(
StreamLobbyViewThemeData other, double t) → StreamLobbyViewThemeData - Linearly interpolate between two StreamLobbyViewThemeData themes.
-
merge(
StreamLobbyViewThemeData? other) → StreamLobbyViewThemeData - Merges one StreamLobbyViewThemeData 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