GradientRotation constructor Null safety

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);