foundation/effects/stac_gradient/stac_gradient library

Classes

StacGradient
A Stac representation of gradients for visual effects.

Enums

StacGradientType
Types of gradients supported by the Stac framework.
StacTileMode
Tile modes that determine how gradients handle areas outside their defined bounds.

Constants

StacLinearGradient → const StacGradient Function({StacAlignment? begin, required List<StacColor>? colors, StacAlignment? end, List<double>? stops, StacTileMode? tileMode})
A linear gradient that transitions colors along a straight line.
StacRadialGradient → const StacGradient Function({StacAlignment? center, required List<StacColor>? colors, StacAlignment? focal, double? focalRadius, double? radius, List<double>? stops, StacTileMode? tileMode})
A radial gradient that transitions colors in a circular pattern from center outward.
StacSweepGradient → const StacGradient Function({StacAlignment? center, required List<StacColor>? colors, double? endAngle, double? startAngle, List<double>? stops, StacTileMode? tileMode})
A sweep gradient that transitions colors in a circular sweep around a center point.