diffutil
library
Functions
-
calculateCustomListDiff<T, L>(L oldList, L newList, {bool detectMoves = true, bool equalityChecker(T, T)?, required T getByIndex(L, int), required int getLength(L)})
→ DiffResult<T>
-
you can use this function if you want to use custom list-types, such as BuiltList
or KtList and want to avoid copying
-
calculateDiff<T>(DiffDelegate cb, {bool detectMoves = false})
→ DiffResult<T>
-
Calculates the list of update operations that can covert one list into the other one.
-
calculateListDiff<T>(List<T> oldList, List<T> newList, {bool detectMoves = true, bool equalityChecker(T, T)?})
→ DiffResult<T>
-
calculate the difference between the two given lists.