isVisible property

bool isVisible
final

Toggles the visibility of the marker.

Defaults to false

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           selectionGesture: ActivationMode.doubleTap,
           series: <SplineSeries<SalesData, num>>[
               SplineSeries<SalesData, num>(
                 markerSettings: MarkerSettings(isVisible: true),
               ),
             ],
       ));
}

Implementation

final bool isVisible;