center property
Vector2
get
center
The center of the AABB.
Implementation
Vector2 get center => _min.clone()
..add(_max)
..scale(0.5);
The center of the AABB.
Vector2 get center => _min.clone()
..add(_max)
..scale(0.5);