effect property Null safety

StrokeEffect? effect

Implementation

StrokeEffect? get effect => _effect;