DebugOverlayWidget constructor
const
DebugOverlayWidget({ - Key? key,
- RaliPosition? currentPosition,
- RaliPosition? cameraPosition,
- double currentSpeed = 0.0,
- double? bearing,
- bool isNavigating = false,
- List<String> logEntries = const [],
- required dynamic onClose(),
- required dynamic onAddLogEntry(
- String
),
- required dynamic onClearLogs(),
- required dynamic onToggleLocationLogs(
- bool
),
- required dynamic onToggleSearchLogs(
- bool
),
- required dynamic onToggleCameraLogs(
- bool
),
- required dynamic onToggleApiLogs(
- bool
),
- dynamic onToggleWeatherLogs(
- 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,
});