withSourceRange method

  1. @override
LatexNode withSourceRange(
  1. SourceRange range
)
override

Creates a copy with a new sourceRange

Implementation

@override
LatexNode withSourceRange(SourceRange range) => LayoutNode(
  layoutType,
  content: content,
  width: width,
  height: height,
  shift: shift,
  sourceRange: range,
);