StreamVideoTheme class

Theme data for Stream Video

Inheritance

Constructors

StreamVideoTheme({required Brightness brightness, StreamTextTheme? textTheme, StreamColorTheme? colorTheme, StreamCallContentThemeData? callContentTheme, StreamCallControlsThemeData? callControlsTheme, StreamUserAvatarThemeData? userAvatarTheme, StreamLobbyViewThemeData? lobbyViewTheme, StreamCallParticipantThemeData? callParticipantTheme, StreamLocalVideoThemeData? localVideoTheme, StreamIncomingOutgoingCallThemeData? incomingCallTheme, StreamIncomingOutgoingCallThemeData? outgoingCallTheme, StreamLivestreamThemeData? livestreamTheme})
Creates a theme from scratch
factory
StreamVideoTheme.dark()
Theme initialized with dark
factory
StreamVideoTheme.fromColorAndTextTheme(StreamColorTheme colorTheme, StreamTextTheme textTheme)
Creates a theme from a StreamColorTheme and a StreamTextTheme
factory
StreamVideoTheme.fromTheme(ThemeData theme)
Creates a theme from a Material Theme
factory
StreamVideoTheme.light()
Theme initialized with light
factory
StreamVideoTheme.raw({required StreamTextTheme textTheme, required StreamColorTheme colorTheme, required StreamCallControlsThemeData callControlsTheme, required StreamUserAvatarThemeData userAvatarTheme, required StreamLobbyViewThemeData lobbyViewTheme, required StreamCallParticipantThemeData callParticipantTheme, required StreamLocalVideoThemeData localVideoTheme, required StreamIncomingOutgoingCallThemeData incomingCallTheme, required StreamCallContentThemeData callContentTheme, required StreamIncomingOutgoingCallThemeData outgoingCallTheme, required StreamLivestreamThemeData livestreamTheme})
Raw theme initialization
const

Properties

callContentTheme StreamCallContentThemeData
Theme for the call content widget.
final
callControlsTheme StreamCallControlsThemeData
The color themes used in CallControlsView
final
callParticipantTheme StreamCallParticipantThemeData
Theme for the call participant widget.
final
colorTheme StreamColorTheme
The color themes used in the widgets.
final
hashCode int
The hash code for this object.
no setterinherited
incomingCallTheme StreamIncomingOutgoingCallThemeData
Theme for the outgoing call widget.
final
livestreamTheme StreamLivestreamThemeData
Theme for the outgoing call widget.
final
lobbyViewTheme StreamLobbyViewThemeData
Theme for the pre-joining view widget.
final
localVideoTheme StreamLocalVideoThemeData
Theme for the local video widget.
final
outgoingCallTheme StreamIncomingOutgoingCallThemeData
Theme for the outgoing call widget.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
textTheme StreamTextTheme
The text themes used in the widgets.
final
type Object
The extension's type.
no setterinherited
userAvatarTheme StreamUserAvatarThemeData
Theme for the user avatar widget.
final

Methods

copyWith({StreamTextTheme? textTheme, StreamColorTheme? colorTheme, StreamCallControlsThemeData? callControlsTheme, StreamUserAvatarThemeData? userAvatarTheme, StreamLobbyViewThemeData? lobbyViewTheme, StreamCallParticipantThemeData? callParticipantTheme, StreamLocalVideoThemeData? localVideoTheme, StreamIncomingOutgoingCallThemeData? incomingCallTheme, StreamCallContentThemeData? callContentTheme, StreamIncomingOutgoingCallThemeData? outgoingCallTheme, StreamLivestreamThemeData? livestreamTheme}) StreamVideoTheme
Creates a copy of StreamVideoTheme with specified attributes overridden.
override
lerp(covariant ThemeExtension<StreamVideoTheme>? other, double t) ThemeExtension<StreamVideoTheme>
Linearly interpolate with another ThemeExtension object.
override
merge(StreamVideoTheme? other) StreamVideoTheme
Merge themes
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

of(BuildContext context) StreamVideoTheme