thicknessChanged method Null safety

  1. @override
void thicknessChanged(
  1. double from,
  2. double to
)
override

Implementation

@override
void thicknessChanged(double from, double to) {
  paint.strokeWidth = to;
  parent?.addDirt(ComponentDirt.paint);
}