MeteoriteConfig constructor

const MeteoriteConfig({
  1. bool enabled = true,
  2. double minMeteoriteSize = .5,
  3. double maxMeteoriteSize = 3,
  4. List<Color> colors = const <Color>[Colors.white],
  5. double minMeteoriteSpeed = .4,
  6. double maxMeteoriteSpeed = 3,
})

Implementation

const MeteoriteConfig({
  this.enabled = true,
  this.minMeteoriteSize = .5,
  this.maxMeteoriteSize = 3,
  this.colors = const <Color>[Colors.white],
  this.minMeteoriteSpeed = .4,
  this.maxMeteoriteSpeed = 3
});