DashboardSettings class

Settings related to the dashboard itself, not the rover.

Constructors

DashboardSettings({required SplitMode splitMode, required double mapBlockSize, required int maxFps, required ThemeMode themeMode, required bool splitCameras, required bool preferTankControls, required bool versionChecking, required List<ViewPreset> presets, required String? defaultPreset})
A const constructor.
DashboardSettings.fromJson(Json? json)
Parses settings from JSON.

Properties

defaultPreset ↔ String?
The default preset to load on startup
getter/setter pair
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.
getter/setter pair
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