Ticking constructor

const Ticking({
  1. required Duration duration,
  2. required VoidCallback onTick,
  3. required Widget child,
  4. Key? key,
})

Create an instance.

Implementation

const Ticking({
  required this.duration,
  required this.onTick,
  required this.child,
  super.key,
});