Compass constructor
const
Compass({
- Key? key,
- required MagnetometerRepository magnetometerRepo,
- required Widget child,
- double extraRotation = 0.0,
Implementation
const Compass({
Key? key,
required this.magnetometerRepo,
required this.child,
this.extraRotation = 0.0,
}) : super(key: key);