gradient library Null safety

Based on the Gradient class in the Flutter SDK.

Classes

Gradient
LinearGradient
RadialGradient
SweepGradient