reversed property
Gradient
reversed
Returns a copy of this Gradient
with its List<Color>
colors
reversed
as well as any potential stops.
Implementation
Gradient get reversed => copyWith(
colors: colors.reversed.toList(),
stops: stops?.reversed.toList(),
);