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