UnifiedDiffHeader.custom constructor
const
UnifiedDiffHeader.custom({})
Create a custom UnifiedDiffHeader with
sourceLineContent
and targetLineContent
, and
optionally a custom sourceLineStart
and targetLineStart
.
Implementation
const factory UnifiedDiffHeader.custom({
final String? sourceLineStart,
final String? targetLineStart,
required final String sourceLineContent,
required final String targetLineContent,
}) = _CustomUnifiedDiffHeader;