Troggle constructor

const Troggle({
  1. Key? key,
  2. double width = 48.0,
  3. double height = 48.0,
  4. int quarterTurns = 0,
  5. required OnTrogglePositionChanged onPositionChanged,
})

Implementation

const Troggle({
  Key? key,
  this.width = 48.0,
  this.height = 48.0,
  this.quarterTurns = 0,
  required this.onPositionChanged,
}) : super(key: key);