pickerGradient property
A 2D sweep gradient.
{@tool snippet}
This sample takes the above gradient and rotates it by radians, i.e. 45 degrees.
new SweepGradient(
startAngle: 3 * pi / 2,
endAngle: 7 * pi / 2,
tileMode: TileMode.repeated,
colors: [Colors.blue, Colors.red],
)
{@end-tool}
Implementation
final SweepGradient? pickerGradient;