ScrollbarGradient.foreground constructor

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

Creates a gradient that applies to the foreground color.

Implementation

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