Hello,
I have problem with removing multiple indexes, on the start i have:
List<ChartData> dataSource = List.generate(
7,
(index) => ChartData(index, Random().nextDouble() * 100),
);
after making this:
dataSource.removeRange(1, 5);
controllers?.updateDataSource(removedDataIndexes: [1, 2, 3, 4]);
i got error:
RangeError (length): Invalid value: Not in inclusive range 0..3: 4
I just want to remove indexes in range
Attachment:
lib_41667ed4.zip