name property

String? name
final

Provides the name for trendline.

Defaults to type of the trendline chosen.

Widget build(BuildContext context) {
   return Container(
       child: SfCartesianChart(
           series: <CartseianSeries<dynamic,dynamic>>[
             LineSeries<dynamic,String>(
               trendlines: <TrendLine>[
                 Trendline()
               ])
           ]
       ));
}

Implementation

final String? name;