isVisible property Null safety

bool isVisible
final

Boolean property to change the visibility of the technical indicators.

Defaults to true.

Widget build(BuildContext context) {
 return SfCartesianChart(
   indicators: <TechnicalIndicators<Sample, num>>[
     StochasticIndicator<Sample, num>(
       isVisible: false
     ),
   ],
 );
}

Implementation

final bool isVisible;