DiffView constructor

const DiffView({
  1. Key? key,
  2. required List<DiffHunk> hunks,
  3. String? filePath,
  4. DiffColors? colors,
  5. bool showLineNumbers = true,
  6. TextStyle? textStyle,
})

Implementation

const DiffView({
  super.key,
  required this.hunks,
  this.filePath,
  this.colors,
  this.showLineNumbers = true,
  this.textStyle,
});