lowValueMapper property Null safety

ChartIndexedValueMapper<num>? lowValueMapper
final

Value mapper to map the low values with technical indicators.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           indicators: <TechnicalIndicators<dynamic, dynamic>>[
           SmaIndicator<dynamic, dynamic>(
               lowValueMapper: (Sample sales, _) => sales.low,
             ),
       ],
       ));
}

Implementation

final ChartIndexedValueMapper<num>? lowValueMapper;