setIdentity method

void setIdentity()

Sets the transform to the identity matrix.

Implementation

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