StackedLineSegment constructor Null safety

StackedLineSegment()