isVisible property

bool isVisible
final

Boolean property to change the visibility of the technical indicators.

Defaults to true.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               isVisible : false,
             ),
          ],
       ));
}

Implementation

final bool isVisible;