GradientText constructor
Constructs a GradientText widget.
text
is the text to be displayed.
gradient
is the gradient applied to the text.
style
is the optional text style to be applied.
Implementation
const GradientText(
this.text, {
required this.gradient,
super.key,
this.style,
});