linearGradient method

VxAnimatedBox linearGradient(
  1. List<Color> colors
)

Sets the linear gradient to the decorated box.

Implementation

VxAnimatedBox linearGradient(List<Color> colors) =>
    this.._gradient = LinearGradient(colors: colors);