TorchAnimation.on constructor

const TorchAnimation.on({
  1. required Color color,
  2. double? size,
  3. Key? key,
})

Implementation

const TorchAnimation.on({required this.color, this.size, super.key})
  : isOn = true;