PlayerTheme class

PlayerTheme

Is the the class where You need to define the theme of the player

Constructors

PlayerTheme({Color iconsColor = Colors.white70, double iconsSize = 15, ProgressBarTheme progressBarTheme = const ProgressBarTheme(), Color backgroundColor = const Color.fromARGB(100, 0, 0, 0), TextStyle menuItemStyle = const TextStyle(fontSize: 14, color: Colors.white54), TextStyle menuItemTitleStyle = const TextStyle(fontSize: 16, color: Colors.white60), TextStyle menuTitleStyle = const TextStyle(fontSize: 18, color: Colors.white70), TextStyle menuSelectedItemStyle = const TextStyle(fontSize: 16, color: Colors.red)})
PlayerTheme has been defined defualt for all and it is in Black and White combination
const

Properties

backgroundColor Color
backgroundColor The color of all part where shows the backround part In menu , controls , etc
final
hashCode int
The hash code for this object.
no setterinherited
iconsColor Color
iconsColor The color of all icons in the player
final
iconsSize double
iconsSize The size of all icons in the player
final
Text style of menu items
final
Text style of menu items title
final
Text style for selected item in more settings
final
Style of menu Title
final
progressBarTheme ProgressBarTheme
Theme of the progressbar ProgressBarTheme
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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