OmniVideoPlayerThemeData class
A container for all theme-related data used by OmniVideoPlayer, divided into modular sub-themes.
Constructors
- OmniVideoPlayerThemeData({VideoPlayerColorScheme colors = const VideoPlayerColorScheme(), VideoPlayerLabelTheme labels = const VideoPlayerLabelTheme(), VideoPlayerIconTheme icons = const VideoPlayerIconTheme(), VideoPlayerShapeTheme shapes = const VideoPlayerShapeTheme(), VideoPlayerOverlayTheme overlays = const VideoPlayerOverlayTheme()})
-
const
Properties
- colors → VideoPlayerColorScheme
-
Color scheme for all colors used in the video player.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- icons → VideoPlayerIconTheme
-
Icon data theme used for player controls and status indicators.
final
- labels → VideoPlayerLabelTheme
-
Label theme data, including default strings and messages.
final
- overlays → VideoPlayerOverlayTheme
-
Theme data for overlays like background shading.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapes → VideoPlayerShapeTheme
-
Shape-related styling such as border radius.
final
Methods
-
copyWith(
{VideoPlayerColorScheme? colors, VideoPlayerLabelTheme? labels, VideoPlayerIconTheme? icons, VideoPlayerShapeTheme? shapes, VideoPlayerOverlayTheme? overlays}) → OmniVideoPlayerThemeData - Returns a copy of this theme data, overriding only the specified properties.
-
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