ULocationSettings constructor

const ULocationSettings({
  1. ULocationAccuracy accuracy = ULocationAccuracy.high,
  2. double distanceFilter = 0,
  3. Duration interval = const Duration(seconds: 5),
  4. bool background = false,
  5. bool significantChangesOnly = false,
  6. ULocationActivity activity = ULocationActivity.other,
  7. bool pauseAutomatically = false,
  8. bool showBackgroundIndicator = true,
  9. String? notificationTitle,
  10. String? notificationText,
})

Implementation

const ULocationSettings({
  this.accuracy = ULocationAccuracy.high,
  this.distanceFilter = 0,
  this.interval = const Duration(seconds: 5),
  this.background = false,
  this.significantChangesOnly = false,
  this.activity = ULocationActivity.other,
  this.pauseAutomatically = false,
  this.showBackgroundIndicator = true,
  this.notificationTitle,
  this.notificationText,
});