ScrollbarGradient.background constructor

const ScrollbarGradient.background({
  1. required Color start,
  2. required Color end,
})

Creates a gradient that applies to the background color.

Implementation

const ScrollbarGradient.background({required this.start, required this.end})
  : useBackground = true;