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