AxisReport class
Every axis one shell offers, as of one build of it.
The axes themselves are KnobDescriptors, which is deliberate rather than lazy: that type says it is "the shape a panel renders whatever produced it", and a picker over named options is precisely what a picker knob already is. A renderer switches on KnobKind and does not need to know which side of the process declared it.
What differs is the envelope. A knob belongs to an entry and resets with it; an axis belongs to a shell and outlives the entry on screen, so the two are reported separately.
Constructors
-
AxisReport({required String? entryId, required String? shellId, required List<
KnobDescriptor> axes}) -
const
-
AxisReport.fromJson(Map<
String, Object?> json) -
factory
Properties
-
axes
→ List<
KnobDescriptor> -
final
- entryId → String?
-
Which entry was on screen when these were declared.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shellId → String?
-
Which shell declared these, or null for an entry whose wrapper is not a
shell — which has no axes.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, Object?> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- empty → const AxisReport