SvgRegionsDetails class
Provides metadata about a parsed SVG region passed to interactiveBuilder.
- selector is the
InteractiveSelectorthat identifies the region. - bounds holds the computed hit-test geometry (SvgBounds) for the region,
or
nullif bounds have not yet been computed (bounds are typically computed after layout when the rendered size is known).
Notes:
- Because bounds may be null on the initial build, callers that depend on
bounds should set
shouldRebuildWhenBoundsCalculatedon the parent widget to true sointeractiveBuilderwill be rebuilt once bounds are available.
Constructors
- SvgRegionsDetails({required SvgBounds? bounds, required InteractiveSelector selector})
-
Create a details object associating
selectorwith optionalbounds.
Properties
- bounds → SvgBounds?
-
The computed bounds (may be null until layout/bounds calculation completes).
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- selector → InteractiveSelector
-
The selector for this region.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited