SmoothCompassWidget constructor

const SmoothCompassWidget({
  1. Key? key,
  2. WidgetBuilder? compassBuilder,
  3. Widget? compassAsset,
  4. int? rotationSpeed = 400,
  5. double? height = 200,
  6. double? width = 200,
  7. bool? isQiblahCompass = false,
  8. Widget? errorLocationServiceWidget,
  9. Widget? errorLocationPermissionWidget,
  10. Widget? loadingAnimation,
  11. bool forceGPS = false,
})

Implementation

const SmoothCompassWidget({
  Key? key,
  this.compassBuilder,
  this.compassAsset,
  this.rotationSpeed = 400,
  this.height = 200,
  this.width = 200,
  this.isQiblahCompass = false,
  this.errorLocationServiceWidget,
  this.errorLocationPermissionWidget,
  this.loadingAnimation,
  this.forceGPS = false,
}) : super(key: key);