PlayerTheme constructor

const PlayerTheme({
  1. Color iconsColor = Colors.white70,
  2. double iconsSize = 15,
  3. ProgressBarTheme progressBarTheme = const ProgressBarTheme(),
  4. Color backgroundColor = const Color.fromARGB(100, 0, 0, 0),
  5. TextStyle menuItemStyle = const TextStyle(fontSize: 14, color: Colors.white54),
  6. TextStyle menuItemTitleStyle = const TextStyle(fontSize: 16, color: Colors.white60),
  7. TextStyle menuTitleStyle = const TextStyle(fontSize: 18, color: Colors.white70),
  8. TextStyle menuSelectedItemStyle = const TextStyle(fontSize: 16, color: Colors.red),
})

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,
  ),
});