menu
flame package
documentation
extensions.dart
Vector2Extension
isIdentity method
isIdentity method
dark_mode
light_mode
isIdentity
method
bool
isIdentity
(
)
Whether the
Vector2
is the identity vector or not
Implementation
bool isIdentity() => x == 1 && y == 1;
flame package
documentation
extensions
Vector2Extension
isIdentity method
Vector2Extension extension on
Vector2