Particle.item constructor

Particle.item(
  1. Item item, {
  2. Location? location,
  3. Location? delta,
  4. double speed = 0,
  5. int count = 1,
  6. bool force = false,
  7. Entity? player,
})

For the Item particle(shows item break) there is a named constructor

Implementation

Particle.item(
  Item item, {
  this.location,
  this.delta,
  this.speed = 0,
  this.count = 1,
  this.force = false,
  this.player,
})  : particle = Particles.item,
      texture = item.getId();