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