custom static method
Implementation
static Gradient custom({
required List<Color> colors,
Alignment begin = Alignment.topLeft,
Alignment end = Alignment.bottomRight,
}) {
return LinearGradient(colors: colors, begin: begin, end: end);
}
static Gradient custom({
required List<Color> colors,
Alignment begin = Alignment.topLeft,
Alignment end = Alignment.bottomRight,
}) {
return LinearGradient(colors: colors, begin: begin, end: end);
}