collisionShape property

Shape get collisionShape

The matching physics collision shape, a box of half the cuboid's extents centered on the local origin.

Implementation

Shape get collisionShape => cuboidCollisionShape(_extents);