SexySliderDecoration constructor Null safety

const SexySliderDecoration(
  1. {double width = 200,
  2. double height = 600,
  3. Color backgroundColor = Colors.black,
  4. Color valueColor = Colors.green,
  5. BorderRadius borderRadius = BorderRadius.zero}
)

Implementation

const SexySliderDecoration(
    {this.width = 200,
    this.height = 600,
    this.backgroundColor = Colors.black,
    this.valueColor = Colors.green,
    this.borderRadius = BorderRadius.zero});