gradient property Null safety

Gradient? gradient
override

Implementation

@override
Gradient? get gradient;