Villain constructor

const Villain({
  1. Key? key,
  2. required VillainAnimation villainAnimation,
  3. VillainAnimation? secondaryVillainAnimation,
  4. Widget? child,
  5. bool animateEntrance = true,
  6. bool animateExit = true,
  7. bool animateReEntrance = true,
})

Implementation

const Villain(
    {Key? key,
    required this.villainAnimation,
    this.secondaryVillainAnimation,
    this.child,
    this.animateEntrance = true,
    this.animateExit = true,
    this.animateReEntrance = true})
    : super(key: key);