PointAnnotationDefaults class

Default styling for point annotations with state-based colors.

Available extensions
Annotations
  • @chartSurface

Constructors

PointAnnotationDefaults({required SeriesMarkerShape markerShape, required double markerSize, required Color normalColor, required Color selectedColor, required Color hoveredColor, required Color draggingColor, required double ghostOpacity, required double previewOpacity, required double previewScale, required LabelStyle labelStyle})
const

Properties

draggingColor Color
final
ghostOpacity double
final
hashCode int
The hash code for this object.
no setteroverride
hoveredColor Color
final
labelStyle LabelStyle
final
markerShape SeriesMarkerShape
final
markerSize double
final
normalColor Color
final
previewOpacity double
final
previewScale double
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
selectedColor Color
final

Methods

copyWith({SeriesMarkerShape? markerShape, double? markerSize, Color? normalColor, Color? selectedColor, Color? hoveredColor, Color? draggingColor, double? ghostOpacity, double? previewOpacity, double? previewScale, LabelStyle? labelStyle}) PointAnnotationDefaults
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited
updateLabelStyle(LabelStyle update(LabelStyle current)) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Rebuilds PointAnnotationDefaults.labelStyle from its current value.
withDraggingColor(Color value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.draggingColor with value.
withGhostOpacity(double value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.ghostOpacity with value.
withHoveredColor(Color value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.hoveredColor with value.
withLabelStyle(LabelStyle value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.labelStyle with value.
withMarkerShape(SeriesMarkerShape value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.markerShape with value.
withMarkerSize(double value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.markerSize with value.
withNormalColor(Color value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.normalColor with value.
withPreviewOpacity(double value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.previewOpacity with value.
withPreviewScale(double value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.previewScale with value.
withSelectedColor(Color value) PointAnnotationDefaults

Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension

Replaces PointAnnotationDefaults.selectedColor with value.

Operators

operator ==(Object other) bool
The equality operator.
override

Constants

colorblindFriendly → const PointAnnotationDefaults
corporateBlue → const PointAnnotationDefaults
defaultDark → const PointAnnotationDefaults
defaultLight → const PointAnnotationDefaults
highContrast → const PointAnnotationDefaults
minimal → const PointAnnotationDefaults
vibrant → const PointAnnotationDefaults