CollisionNode<T> class
Represents a node/item that can participate in collision detection. Contains position, size, category, and other metadata.
Constructors
- CollisionNode({required Key key, required LatLng anchor, Alignment alignment = Alignment.center, EdgeInsets? margin, bool rotate = false, Size? knownSize, WidgetBuilder? measureBuilder, int priority = 10, int category = CollisionLayerBits.label, int collisionMask = CollisionLayerBits.label | CollisionLayerBits.anchor, Rect? anchorRectPx, bool drawConnector = true, T? data})
-
const
Properties
- alignment → Alignment
-
final
- anchor → LatLng
-
final
- anchorRectPx → Rect?
-
final
- category → int
-
final
- collisionMask → int
-
final
- data → T?
-
final
- drawConnector → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- key → Key
-
final
- knownSize → Size?
-
final
- margin → EdgeInsets?
-
final
- measureBuilder → WidgetBuilder?
-
final
- priority → int
-
final
- rotate → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited