ArcaneGradientText.custom constructor
const
ArcaneGradientText.custom({})
Creates gradient text with custom color stops for precise control.
ArcaneGradientText.custom(
content: 'Hello',
stops: [
GradientStop.fromArcane(ArcaneColor.accent, 0.0),
GradientStop.fromArcane(ArcaneColor.primary, 0.5),
GradientStop.hex('#FF0000', 1.0),
],
)
Implementation
const ArcaneGradientText.custom({
required this.content,
required List<GradientStop> stops,
this.gradientAngle = '135deg',
this.fontSize = 'inherit',
this.fontWeight = 'inherit',
super.key,
}) : colorStops = stops,
gradient = null,
gradientStart = null,
gradientEnd = null;