VisiblePoint constructor
VisiblePoint({})
Creates a new instance of VisiblePoint.
id
is the unique identifier of the visible point.
position
is the position of the visible point.
size
is the size of the widget to render.
isHovering
indicates whether the visible point is being hovered over.
isVisible
indicates whether the visible point is currently visible.
Example usage:
VisiblePoint(
id: 'point1',
position: Offset(100, 100),
isHovering: false,
isVisible: true,
);
Implementation
VisiblePoint({
required this.key,
this.size,
required this.id,
this.position,
required this.isHovering,
required this.isVisible,
});