setDirectionInRange static method

TextStory setDirectionInRange({
  1. required TextStory story,
  2. required int start,
  3. required int? end,
  4. required ParagraphDirection direction,
})

Sets base direction for the paragraphs touched by the range.

Implementation

static TextStory setDirectionInRange({
  required TextStory story,
  required int start,
  required int? end,
  required ParagraphDirection direction,
}) => _ParagraphFormattingCommands.setDirectionInRange(
  story: story,
  start: start,
  end: end,
  direction: direction,
);