isIdentity property
bool
get
isIdentity
Whether this transform leaves UV coordinates unchanged.
Implementation
bool get isIdentity =>
offset == Vector2.zero() && scale == Vector2.all(1.0) && rotation == 0.0;