VideoProgressBarColors constructor

VideoProgressBarColors({
  1. Color backgroundColor = const Color.fromRGBO(255, 255, 255, .4),
  2. Color playedColor = const Color.fromRGBO(255, 255, 255, 1),
  3. Color bufferedColor = const Color.fromRGBO(255, 255, 255, .7),
  4. Color handleColor = const Color.fromRGBO(255, 255, 255, 1),
})

Any property can be set to any paint. They each have defaults.

Implementation

VideoProgressBarColors({
  this.backgroundColor = const Color.fromRGBO(255, 255, 255, .4),
  this.playedColor = const Color.fromRGBO(255, 255, 255, 1),
  this.bufferedColor = const Color.fromRGBO(255, 255, 255, .7),
  this.handleColor = const Color.fromRGBO(255, 255, 255, 1),
}) : handleMoreColor = handleColor.withOpacity(.7);