UnifiedDiffHunkHeaderConfig constructor

const UnifiedDiffHunkHeaderConfig({
  1. String openTag = '@@',
  2. String closeTag = '@@',
  3. String? defaultLabel,
})

Create a new UnifiedDiffHunkHeaderConfig with the specified openTag, closeTag, and defaultLabel.

The defaultLabel if supplied, generally appears after the closeTag.

Implementation

const UnifiedDiffHunkHeaderConfig({
  this.openTag = '@@',
  this.closeTag = '@@',
  this.defaultLabel,
});