initialSelectedDataIndexes property Null safety

List<int> initialSelectedDataIndexes
read / write

List of data indexes initially selected.

Defaults to null.

    Widget build(BuildContext context) {
   return Scaffold(
       body: Center(
           child: Container(
                 child: SfCircularChart(
                     initialSelectedDataIndexes: <IndexesModel>[IndexesModel(1, 0)]
                )
             )
         )
     );
 }

Implementation

List<int> initialSelectedDataIndexes;