AndroidConfig constructor

const AndroidConfig({
  1. String channelName = 'Background Tracking',
  2. String notificationBody = 'Background tracking active. Tap to open.',
  3. String? notificationIcon,
  4. bool enableNotificationLocationUpdates = false,
  5. String cancelTrackingActionText = 'Stop Tracking',
  6. bool enableCancelTrackingAction = true,
  7. Duration trackingInterval = const Duration(seconds: 10),
  8. double? distanceFilterMeters,
})

Implementation

const AndroidConfig({
  this.channelName = 'Background Tracking',
  this.notificationBody = 'Background tracking active. Tap to open.',
  this.notificationIcon,
  this.enableNotificationLocationUpdates = false,
  this.cancelTrackingActionText = 'Stop Tracking',
  this.enableCancelTrackingAction = true,
  this.trackingInterval = const Duration(seconds: 10),
  this.distanceFilterMeters,
});