addStroke method Null safety

  1. @override
bool addStroke(
  1. Stroke stroke
)

Implementation

@override
bool addStroke(Stroke stroke) {
  paintChanged();
  return super.addStroke(stroke);
}