PointConnection class

This class defines the PointConnection between two Point. Represents a connection between two points on a globe.

Implementers

Constructors

PointConnection({required GlobeCoordinates start, required GlobeCoordinates end, required String id, String? label, Offset labelOffset = const Offset(0, 0), Widget? labelBuilder(BuildContext context, PointConnection pointConnection, bool isHovering, bool isVisible)?, double curveScale = 1.5, TextStyle? labelTextStyle, bool isMoving = false, bool isLabelVisible = false, PointConnectionStyle style = const PointConnectionStyle(), VoidCallback? onTap, VoidCallback? onHover})
Creates a new PointConnection instance.

Properties

curveScale double
final
end GlobeCoordinates
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isLabelVisible bool
getter/setter pair
isMoving bool
getter/setter pair
label String?
final
labelBuilder Widget? Function(BuildContext context, PointConnection pointConnection, bool isHovering, bool isVisible)?
final
labelOffset Offset
final
labelTextStyle TextStyle?
final
onHover VoidCallback?
final
onTap VoidCallback?
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
start GlobeCoordinates
final
strokeWidth double
no setter
style PointConnectionStyle
final

Methods

copyWith({GlobeCoordinates? start, GlobeCoordinates? end, String? label, TextStyle? labelTextStyle, String? id, Widget? labelBuilder(BuildContext context, PointConnection pointConnection, bool isHovering, bool isVisible)?, bool? isMoving, bool? isLabelVisible, Offset? labelOffset, PointConnectionStyle? style, VoidCallback? onTap, VoidCallback? onHover}) PointConnection
Creates a new PointConnection instance with updated properties.
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