DashboardSettings class
Settings related to the dashboard itself, not the rover.
Constructors
-
DashboardSettings({required List<
ViewPreset> presets, required SplitMode splitMode, required double mapBlockSize, required int maxFps, required ThemeMode themeMode, required bool splitCameras, required bool preferTankControls, required bool versionChecking}) -
A const constructor.
const
- DashboardSettings.fromJson(Json? json)
- Parses settings from JSON.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- mapBlockSize → double
-
The precision of the GPS grid.
final
- maxFps → int
-
How many frames to render per second.
final
- preferTankControls → bool
-
Whether to default to tank drive controls.
final
-
presets
→ List<
ViewPreset> -
A list of ViewPresets
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splitCameras → bool
-
Whether to split cameras into their own controls.
final
- splitMode → SplitMode
-
How the Dashboard should split when only two views are present.
final
- themeMode → ThemeMode
-
The theme of the Dashboard.
final
- versionChecking → bool
-
Whether to have version checking on protobuf messages.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json - Serializes these settings to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited