GoogleCastPlayerTheme class

Theme data for customizing the ExpandedGoogleCastPlayerController widget.

Constructors

GoogleCastPlayerTheme({Color? backgroundColor, Gradient? backgroundGradient, TextStyle? titleTextStyle, TextStyle? deviceTextStyle, TextStyle? timeTextStyle, Color? iconColor, Color? disabledIconColor, double? iconSize, Widget? backgroundWidget, BorderRadius? imageBorderRadius, List<BoxShadow>? imageShadow, double? imageMaxWidth, double? imageMaxHeight, BoxFit? imageFit, Widget? noImageFallback, Color? popupBackgroundColor, Color? popupTextColor, TextStyle? popupTextStyle, Color? volumeSliderActiveColor, Color? volumeSliderInactiveColor, Color? volumeSliderThumbColor})
Creates a new GoogleCastPlayerTheme.
const

Properties

backgroundColor Color?
Background color for the player.
final
backgroundGradient Gradient?
Background gradient for the player.
final
backgroundWidget Widget?
Custom background widget.
final
deviceTextStyle TextStyle?
Text style for the device name.
final
disabledIconColor Color?
Color for disabled icons.
final
hashCode int
The hash code for this object.
no setterinherited
iconColor Color?
Color for icons.
final
iconSize double?
Size of icons.
final
imageBorderRadius BorderRadius?
Border radius for media images.
final
imageFit BoxFit?
Fit for media images.
final
imageMaxHeight double?
Maximum height for media images.
final
imageMaxWidth double?
Maximum width for media images.
final
imageShadow List<BoxShadow>?
Shadow for media images.
final
noImageFallback Widget?
Fallback widget when no image is available.
final
popupBackgroundColor Color?
Background color for popup menus (like captions menu)
final
popupTextColor Color?
Text color for popup menu items
final
popupTextStyle TextStyle?
Text style for popup menu items
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
timeTextStyle TextStyle?
Text style for time displays.
final
titleTextStyle TextStyle?
Text style for the media title.
final
volumeSliderActiveColor Color?
Volume slider active color
final
volumeSliderInactiveColor Color?
Volume slider inactive color
final
volumeSliderThumbColor Color?
Volume slider thumb color
final

Methods

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