ULocationSettings constructor
const
ULocationSettings({
- ULocationAccuracy accuracy = ULocationAccuracy.high,
- double distanceFilter = 0,
- Duration interval = const Duration(seconds: 5),
- bool background = false,
- bool significantChangesOnly = false,
- ULocationActivity activity = ULocationActivity.other,
- bool pauseAutomatically = false,
- bool showBackgroundIndicator = true,
- String? notificationTitle,
- 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,
});