playerRect property

Rect get playerRect

Gets player position used how base in calculations

Implementation

Rect get playerRect {
  return gameRef.player?.rectCollision ?? Rect.zero;
}