Compass constructor

const Compass({
  1. Key? key,
  2. required MagnetometerRepository magnetometerRepo,
  3. required Widget child,
  4. double extraRotation = 0.0,
})

Implementation

const Compass({
  Key? key,
  required this.magnetometerRepo,
  required this.child,
  this.extraRotation = 0.0,
}) : super(key: key);