Is there an efficient way to iterate through objects in the list in reverse order in dart? I could use indices, but will that cause a performance hit (i.e. if List<E> is built internally using linked list)?
Context: I’m drawing objects from back to front, but need to process them from front to back
Ali
Until the issue #2804 has been fixed, you have to iterate list in reverse order using indices. For your performance concern, it should be good because Lasse R.H. Nielsen once said :