initialSelectedDataIndexes property Null safety

List<int> initialSelectedDataIndexes
read / write, inherited

List of data indexes initially selected

Defaults to null.

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

Implementation

List<int> initialSelectedDataIndexes;