diff_match_patch2 0.5.0 copy "diff_match_patch2: ^0.5.0" to clipboard
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);
  • Patch and Diff can be jsonized. To decode, use Patch.fromJson and Diff.fromJson.
  • patch_main in Google Diff Match and Patch library are split into patch_main, patch_diffs and patch_make for strong types.

Who Uses #

  • Quire - a simple, collaborative, multi-level task management tool.
  • Keikai - a sophisticated spreadsheet for big data
5
likes
110
pub points
75%
popularity

Publisher

unverified uploader

Port of Google Diff, Match and Patch library to Dart

Repository (GitHub)
View/report issues

Documentation

API reference

License

Apache-2.0 (LICENSE)

Dependencies

rikulo_commons

More

Packages that depend on diff_match_patch2