Satellite class

Represents a satellite orbiting around the globe.

Constructors

Satellite({required String id, required GlobeCoordinates coordinates, double altitude = 0.1, String? label, Widget? labelBuilder(BuildContext context, Satellite satellite, bool isHovering, bool isVisible)?, bool isLabelVisible = false, Offset labelOffset = const Offset(0, 0), SatelliteStyle style = const SatelliteStyle(), TextStyle? labelTextStyle, SatelliteOrbit? orbit, VoidCallback? onTap, VoidCallback? onHover, DateTime? referenceTime})

Properties

altitude double
final
coordinates GlobeCoordinates
final
hashCode int
The hash code for this object.
no setterinherited
id String
final
isLabelVisible bool
final
label String?
final
labelBuilder Widget? Function(BuildContext context, Satellite satellite, bool isHovering, bool isVisible)?
final
labelOffset Offset
final
labelTextStyle TextStyle?
final
onHover VoidCallback?
final
onTap VoidCallback?
final
orbit SatelliteOrbit?
final
referenceTime DateTime
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
style SatelliteStyle
final

Methods

copyWith({String? id, GlobeCoordinates? coordinates, double? altitude, String? label, Widget? labelBuilder(BuildContext context, Satellite satellite, bool isHovering, bool isVisible)?, bool? isLabelVisible, Offset? labelOffset, SatelliteStyle? style, TextStyle? labelTextStyle, SatelliteOrbit? orbit, VoidCallback? onTap, VoidCallback? onHover, DateTime? referenceTime}) Satellite
getPositionAtTime(DateTime time) GlobeCoordinates
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