setIdentity method Null safety

void setIdentity()

Sets the transform to the identity matrix.

Implementation

void setIdentity() {
  _transform!.setIdentity();
  markNeedsPaint();
  markNeedsSemanticsUpdate();
}