move

abstract fun move(fromIndex: Int, toIndex: Int, count: Int)

Move count child widgets from fromIndex to toIndex.

Both indices are relative to the position before the change. For example, to move the widget at position 1 to after the widget at position 2, fromIndex should be 1 and toIndex should be 3. If the widgets were A B C D E, calling move(1, 3, 1) would result in the widgets being reordered to A C B D E.