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 withvalue. -
withGhostOpacity(
double value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.ghostOpacity withvalue. -
withHoveredColor(
Color value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.hoveredColor withvalue. -
withLabelStyle(
LabelStyle value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.labelStyle withvalue. -
withMarkerShape(
SeriesMarkerShape value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.markerShape withvalue. -
withMarkerSize(
double value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.markerSize withvalue. -
withNormalColor(
Color value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.normalColor withvalue. -
withPreviewOpacity(
double value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.previewOpacity withvalue. -
withPreviewScale(
double value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.previewScale withvalue. -
withSelectedColor(
Color value) → PointAnnotationDefaults -
Available on PointAnnotationDefaults, provided by the PointAnnotationDefaultsFluent extension
Replaces PointAnnotationDefaults.selectedColor withvalue.
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