GradientRectSliderTrackShape constructor

const GradientRectSliderTrackShape({
  1. LinearGradient gradient = const LinearGradient(colors: [Colors.red, Colors.yellow]),
  2. bool darkenInactive = false,
})

Implementation

const GradientRectSliderTrackShape({
  this.gradient = const LinearGradient(
    colors: [
      Colors.red,
      Colors.yellow,
    ],
  ),
  this.darkenInactive = false,
});