joinChanged method Null safety

  1. @override
void joinChanged(
  1. int from,
  2. int to
)
override

Implementation

@override
void joinChanged(int from, int to) {
  paint.strokeJoin = StrokeJoin.values[to];
  parent?.addDirt(ComponentDirt.paint);
}