initialSelectedDataIndexes property

List<int> initialSelectedDataIndexes
getter/setter pair

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;