HighlightConfig class

Configuration data for the highlighting of page elements.

Constructors

HighlightConfig({bool? showInfo, bool? showStyles, bool? showRulers, bool? showAccessibilityInfo, bool? showExtensionLines, RGBA? contentColor, RGBA? paddingColor, RGBA? borderColor, RGBA? marginColor, RGBA? eventTargetColor, RGBA? shapeColor, RGBA? shapeMarginColor, RGBA? cssGridColor, ColorFormat? colorFormat, GridHighlightConfig? gridHighlightConfig, FlexContainerHighlightConfig? flexContainerHighlightConfig, FlexItemHighlightConfig? flexItemHighlightConfig, ContrastAlgorithm? contrastAlgorithm, ContainerQueryContainerHighlightConfig? containerQueryContainerHighlightConfig})
HighlightConfig.fromJson(Map<String, dynamic> json)
factory

Properties

borderColor RGBA?
The border highlight fill color (default: transparent).
final
colorFormat ColorFormat?
The color format used to format color styles (default: hex).
final
containerQueryContainerHighlightConfig ContainerQueryContainerHighlightConfig?
The container query container highlight configuration (default: all transparent).
final
contentColor RGBA?
The content box highlight fill color (default: transparent).
final
contrastAlgorithm ContrastAlgorithm?
The contrast algorithm to use for the contrast ratio (default: aa).
final
cssGridColor RGBA?
The grid layout color (default: transparent).
final
eventTargetColor RGBA?
The event target element highlight fill color (default: transparent).
final
flexContainerHighlightConfig FlexContainerHighlightConfig?
The flex container highlight configuration (default: all transparent).
final
flexItemHighlightConfig FlexItemHighlightConfig?
The flex item highlight configuration (default: all transparent).
final
gridHighlightConfig GridHighlightConfig?
The grid layout highlight configuration (default: all transparent).
final
hashCode int
The hash code for this object.
no setterinherited
marginColor RGBA?
The margin highlight fill color (default: transparent).
final
paddingColor RGBA?
The padding highlight fill color (default: transparent).
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
shapeColor RGBA?
The shape outside fill color (default: transparent).
final
shapeMarginColor RGBA?
The shape margin fill color (default: transparent).
final
showAccessibilityInfo bool?
Whether the a11y info should be shown (default: true).
final
showExtensionLines bool?
Whether the extension lines from node to the rulers should be shown (default: false).
final
showInfo bool?
Whether the node info tooltip should be shown (default: false).
final
showRulers bool?
Whether the rulers should be shown (default: false).
final
showStyles bool?
Whether the node styles in the tooltip (default: false).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited