diff_view 0.4.0
diff_view: ^0.4.0 copied to clipboard
A fast side-by-side and unified diff view for Flutter, like JetBrains IDEs' diff viewer, with ribbons, synced scrolling, word highlights, folding, text selection and line selection.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add diff_viewThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
diff_view: ^0.4.0Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:diff_view/diff_view.dart';