curve property Null safety

Curve curve
final

the Curve use in widget

Implementation

final Curve curve;