CameraSettingsPanel constructor

const CameraSettingsPanel({
  1. dynamic key,
  2. required Future<String?> fetchSettings(),
  3. required Future<bool> saveSettings(
    1. Map<String, Object> update
    ),
  4. required Future<String?> fetchHealthz(),
  5. dynamic preview(
    1. String url
    ) = cameraPreview,
  6. Duration previewInterval = const Duration(seconds: 3),
  7. dynamic detectionPicture(
    1. String url
    ) = recentArrivalPicture,
})

Implementation

const CameraSettingsPanel({
  super.key,
  required this.fetchSettings,
  required this.saveSettings,
  required this.fetchHealthz,
  this.preview = cameraPreview,
  this.previewInterval = const Duration(seconds: 3),
  this.detectionPicture = recentArrivalPicture,
});