DebugOverlayWidget constructor

const DebugOverlayWidget({
  1. Key? key,
  2. RaliPosition? currentPosition,
  3. RaliPosition? cameraPosition,
  4. double currentSpeed = 0.0,
  5. double? bearing,
  6. bool isNavigating = false,
  7. List<String> logEntries = const [],
  8. required dynamic onClose(),
  9. required dynamic onAddLogEntry(
    1. String
    ),
  10. required dynamic onClearLogs(),
  11. required dynamic onToggleLocationLogs(
    1. bool
    ),
  12. required dynamic onToggleSearchLogs(
    1. bool
    ),
  13. required dynamic onToggleCameraLogs(
    1. bool
    ),
  14. required dynamic onToggleApiLogs(
    1. bool
    ),
  15. dynamic onToggleWeatherLogs(
    1. bool
    )?,
})

Implementation

const DebugOverlayWidget({
  super.key,
  this.currentPosition,
  this.cameraPosition,
  this.currentSpeed = 0.0,
  this.bearing,
  this.isNavigating = false,
  this.logEntries = const [],
  required this.onClose,
  required this.onAddLogEntry,
  required this.onClearLogs,
  required this.onToggleLocationLogs,
  required this.onToggleSearchLogs,
  required this.onToggleCameraLogs,
  required this.onToggleApiLogs,
  this.onToggleWeatherLogs,
});