TrackballMarkerSettings class
Options to customize the markers that are displayed when trackball is enabled.
Trackball markers are used to provide information about the exact point location, when the trackball is visible. You can add a shape to adorn each data point. Trackball markers can be enabled by using the markerVisibility property in TrackballMarkerSettings. Provides the options like color, border width, border color and shape of the marker to customize the appearance.
- Inheritance
-
- Object
- MarkerSettings
- TrackballMarkerSettings
Constructors
-
TrackballMarkerSettings({TrackballVisibilityMode markerVisibility = TrackballVisibilityMode.auto, double height = 8.0, double width = 8.0, Color? color, DataMarkerType shape = DataMarkerType.circle, double borderWidth = 2.0, Color? borderColor, ImageProvider<
Object> ? image}) -
Creating an argument constructor of TrackballMarkerSettings class.
const
Properties
- borderColor → Color?
-
Border color of the marker.
finalinherited
- borderWidth → double
-
Border width of the marker.
finalinherited
- color → Color?
-
Color of the marker shape.
finalinherited
- hashCode → int
-
The hash code for this object.
no setteroverride
- height → double
-
Height of the marker shape.
finalinherited
-
image
→ ImageProvider<
Object> ? -
Image to be used as marker.
finalinherited
- isVisible → bool
-
Toggles the visibility of the marker.
finalinherited
- markerVisibility → TrackballVisibilityMode
-
Whether marker should be visible or not when trackball is enabled.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shape → DataMarkerType
-
Shape of the marker.
finalinherited
- width → double
-
Width of the marker shape.
finalinherited
Methods
-
copyWith(
{bool? isVisible, Color? color, DataMarkerType? shape, double? height, double? width, Color? borderColor, double? borderWidth, ImageProvider< Object> ? image}) → MarkerSettings -
inherited
-
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.
override