CellDiffOption.forcedWidth constructor

CellDiffOption.forcedWidth(
  1. int width
)

Uses width for diff traversal and cursor tracking.

Implementation

factory CellDiffOption.forcedWidth(int width) {
  if (width <= 0) {
    throw ArgumentError.value(width, 'width', 'must be greater than zero');
  }
  return CellDiffOption._(_CellDiffKind.forcedWidth, width);
}