DetectionStatusLine constructor

const DetectionStatusLine({
  1. dynamic key,
  2. required Future<String?> fetch(),
  3. required String fallbackName,
  4. Duration interval = const Duration(seconds: 5),
  5. dynamic arrivalImage(
    1. String url,
    2. String label
    ) = arrivalPicture,
  6. Future<bool> saveSettings(
    1. Map<String, Object> update
    )?,
  7. String observantUrl(
    1. String path
    ) = _asGiven,
})

Implementation

const DetectionStatusLine({
  super.key,
  required this.fetch,
  required this.fallbackName,
  this.interval = const Duration(seconds: 5),
  this.arrivalImage = arrivalPicture,
  this.saveSettings,
  this.observantUrl = _asGiven,
});