diffutil_dart library

Classes

BatchableDiff
Change
DiffDelegate
DiffResult
This class holds the information about the result of a calculateDiff call. [...]
DiffUpdate
Insert
ListDiffDelegate<T>
ListUpdateCallback
Move
Remove

Functions

calculateCustomListDiff<T, L>(L oldList, L newList, {bool detectMoves: true, bool equalityChecker(T, T), T getByIndex(L, int), int getLength(L)}) DiffResult
you can use this function if you want to use custom list-types, such as BuiltList or KtList and want to avoid copying
calculateDiff(DiffDelegate cb, {bool detectMoves: false}) DiffResult
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
calculate the difference between the two given lists. [...]