Newton constructor

const Newton({
  1. List<Effect<AnimatedParticle>> activeEffects = const [],
  2. Widget? child,
  3. void onEffectStateChanged(
    1. Effect<AnimatedParticle>,
    2. EffectState
    )?,
  4. Key? key,
})

Implementation

const Newton({
  this.activeEffects = const [],
  this.child,
  this.onEffectStateChanged,
  super.key,
});