GradientRotation constructor

const GradientRotation(
  1. double radians
)

Constructs a GradientRotation for the specified angle.

The angle is in radians in the clockwise direction.

Implementation

const GradientRotation(this.radians);