I'd like to render a PageView
but instead of the currentIndex
for each page being numbered sequentially IE: 1,2,3,4,5,6,7,8,9 I'd like to reverse the numbering IE: 9,8,7,6,5,4,3,2,1.
Anybody know a way to do this??
PageView.builder(
itemCount: message.length,
itemBuilder: (context, int currentIndex) {
return createViewItem(message[currentIndex], context, );
},
);
}