HeatmapDendrogramStyle class final
Immutable presentation contract for a HeatmapDendrogram.
Geometry, hierarchy, and accepted leaf order remain owned by HeatmapDendrogramData. This style changes only how that portable geometry is painted.
- Annotations
Constructors
- HeatmapDendrogramStyle({Color? branchColor, double branchWidth = 1.5, StrokeCap branchCap = StrokeCap.round, StrokeJoin branchJoin = StrokeJoin.round, Color? baselineColor, double baselineWidth = 1, bool showLeafBaseline = true, Color? tickColor, double tickWidth = 1, double tickLength = 5, bool showLeafTicks = true, double elbowRadius = 0, bool showLeafMarkers = false, Color? leafMarkerColor, double leafMarkerRadius = 3, HeatmapDendrogramMarkerShape leafMarkerShape = HeatmapDendrogramMarkerShape.circle, HeatmapDendrogramMarkerFill leafMarkerFill = HeatmapDendrogramMarkerFill.solid, Color? leafMarkerBorderColor, double leafMarkerBorderWidth = 1, bool showMergeMarkers = false, Color? mergeMarkerColor, double mergeMarkerRadius = 3.5, HeatmapDendrogramMarkerShape mergeMarkerShape = HeatmapDendrogramMarkerShape.circle, HeatmapDendrogramMarkerFill mergeMarkerFill = HeatmapDendrogramMarkerFill.solid, Color? mergeMarkerBorderColor, double mergeMarkerBorderWidth = 1, bool showLeafLabels = false, bool showMergeDistanceLabels = false, Color? labelColor, Color? labelBackgroundColor, double labelFontSize = 10, double labelPadding = 2, double labelRadius = 3, double labelOffset = 4, HeatmapDendrogramLabelDensity labelDensity = HeatmapDendrogramLabelDensity.balanced, HeatmapDendrogramLabelPlacement labelPlacement = HeatmapDendrogramLabelPlacement.before, int maxLabelCharacters = 14, int mergeDistanceFractionDigits = 2, HeatmapDendrogramLevelOfDetailMode levelOfDetailMode = HeatmapDendrogramLevelOfDetailMode.automatic, double minimumBranchLength = 0.75, double minimumLeafGuideSpacing = 3, double minimumLeafMarkerSpacing = 8, double minimumMergeMarkerSpacing = 6, double minimumLabelSpacing = 24})
-
const
-
HeatmapDendrogramStyle.fromJson(Map<
String, dynamic> json) -
Restores a style retained in JSON-safe chart metadata.
factory
Properties
- baselineColor → Color?
-
Leaf-baseline colour, or
nullfor a quiet branch-colour derivative.final - baselineWidth → double
-
Width of the leaf baseline in logical pixels.
final
- branchCap → StrokeCap
-
Cap applied at open branch ends.
final
- branchColor → Color?
-
Branch colour, or
nullto derive it from the active theme.final - branchJoin → StrokeJoin
-
Join applied where branch segments meet.
final
- branchWidth → double
-
Width of hierarchy branches in logical pixels.
final
- elbowRadius → double
-
Presentation-only radius used to soften orthogonal branch elbows.
final
- hashCode → int
-
The hash code for this object.
no setteroverride
- labelBackgroundColor → Color?
-
Label background colour, or
nullfor a theme-derived surface.final - labelColor → Color?
-
Label foreground colour, or
nullfor the active theme foreground.final - labelDensity → HeatmapDendrogramLabelDensity
-
Deterministic label sampling policy.
final
- labelFontSize → double
-
Label font size in logical pixels.
final
- labelOffset → double
-
Gap between a node marker and its label.
final
- labelPadding → double
-
Horizontal and vertical inset inside each label background.
final
- labelPlacement → HeatmapDendrogramLabelPlacement
-
Orientation-aware side on which labels are initially placed.
final
- labelRadius → double
-
Corner radius of each label background.
final
- leafMarkerBorderColor → Color?
-
Leaf-marker border colour, or
nullto inherit the branch colour.final - leafMarkerBorderWidth → double
-
Leaf-marker border width in logical pixels.
final
- leafMarkerColor → Color?
-
Leaf-marker colour, or
nullto inherit the resolved branch colour.final - leafMarkerFill → HeatmapDendrogramMarkerFill
-
Whether enabled leaf markers are solid or hollow.
final
- leafMarkerRadius → double
-
Leaf-marker radius in logical pixels.
final
- leafMarkerShape → HeatmapDendrogramMarkerShape
-
Shape painted at every enabled source leaf.
final
- levelOfDetailMode → HeatmapDendrogramLevelOfDetailMode
-
Whether screen-space level-of-detail suppression is active.
final
- maxLabelCharacters → int
-
Maximum source characters retained before an ellipsis is appended.
final
- mergeDistanceFractionDigits → int
-
Decimal places used by merge-distance labels.
final
- mergeMarkerBorderColor → Color?
-
Merge-marker border colour, or
nullto inherit the branch colour.final - mergeMarkerBorderWidth → double
-
Merge-marker border width in logical pixels.
final
- mergeMarkerColor → Color?
-
Merge-marker colour, or
nullto inherit the resolved branch colour.final - mergeMarkerFill → HeatmapDendrogramMarkerFill
-
Whether enabled merge markers are solid or hollow.
final
- mergeMarkerRadius → double
-
Merge-marker radius in logical pixels.
final
- mergeMarkerShape → HeatmapDendrogramMarkerShape
-
Shape painted at every enabled hierarchy merge.
final
- minimumBranchLength → double
-
Minimum projected branch length retained in automatic mode.
final
- minimumLabelSpacing → double
-
Minimum category-axis spacing allocated to labels in automatic mode.
final
- minimumLeafGuideSpacing → double
-
Minimum category-axis spacing for per-leaf ticks in automatic mode.
final
- minimumLeafMarkerSpacing → double
-
Minimum category-axis spacing for per-leaf markers in automatic mode.
final
- minimumMergeMarkerSpacing → double
-
Minimum screen-space separation between merge markers in automatic mode.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- showLeafBaseline → bool
-
Whether to paint the quiet line shared by all accepted leaves.
final
- showLeafLabels → bool
-
Whether to paint source-category labels at leaf anchors.
final
- showLeafMarkers → bool
-
Whether to paint one marker at every source leaf.
final
- showLeafTicks → bool
-
Whether to paint one alignment tick per accepted leaf.
final
- showMergeDistanceLabels → bool
-
Whether to paint original clustering distances at merge anchors.
final
- showMergeMarkers → bool
-
Whether to paint one marker at every hierarchy merge.
final
- tickColor → Color?
-
Leaf-tick colour, or
nullto inherit the resolved baseline colour.final - tickLength → double
-
Length of each leaf tick in logical pixels.
final
- tickWidth → double
-
Width of leaf ticks in logical pixels.
final
Methods
-
metadataFor(
HeatmapDendrogramAxis axis) → Map< String, dynamic> - Metadata key scoped to the corresponding row or column hierarchy.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> - JSON-safe representation suitable for portable chart metadata.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override