TurnBox constructor

const TurnBox({
  1. Key? key,
  2. double turns = .0,
  3. int speed = 200,
  4. required Widget child,
})

Implementation

const TurnBox({
  Key? key,
  this.turns = .0,
  this.speed = 200,
  required this.child,
}) : super(key: key);