CapsuleShape constructor

const CapsuleShape({
  1. double radius = 0.3,
  2. double height = 0.5,
  3. int segments = 32,
  4. int rings = 8,
})

Implementation

const CapsuleShape({
  this.radius = 0.3,
  this.height = 0.5,
  this.segments = 32,
  this.rings = 8,
});