ViewPreset class
Preset for the dashboard.
Constructors
-
ViewPreset({required String name, required SplitMode splitMode, required List<
DashboardView> views, required List<double> horizontal1, required List<double> horizontal2, required List<double> vertical1, required List<double> vertical2, required List<double> horizontal3, required List<double> horizontal4}) - A const constructor.
- ViewPreset.fromJson(Json? json)
- Parses a view preset from JSON.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
horizontal1
→ List<
double> -
Ratio of the controller for the resizable row on top.
final
-
horizontal2
→ List<
double> -
Ratio of the controller for resizable row on bottom.
final
-
horizontal3
→ List<
double> -
Ratio of the controller for screen 2's first row.
final
-
horizontal4
→ List<
double> -
Ratio of the controller for screen 2's second row.
final
- name → String
-
Preset name.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- splitMode → SplitMode
-
The split mode of this preset.
final
-
vertical1
→ List<
double> -
Ratio of the controller for the resizable column.
final
-
vertical2
→ List<
double> -
The vertical controller for screen 2.
final
-
views
→ List<
DashboardView> -
List of views that comes with the views name (and if it is a camera view, its camera name).
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Json - Serializes a view preset to JSON.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited