diff_match_patch2 0.5.0
diff_match_patch2: ^0.5.0 copied to clipboard
Port of Google Diff, Match and Patch library to Dart
Diff, Match and Patch #
A port of Google Diff Match and Patch library to Dart
Usage #
import "package:diff_match_patch2/diff_match_patch.dart";
...
final dmp = DiffMatchPatch();
dmp.patch_main(oldText, newText);
PatchandDiffcan be jsonized. To decode, usePatch.fromJsonandDiff.fromJson.patch_mainin Google Diff Match and Patch library are split intopatch_main,patch_diffsandpatch_makefor strong types.