space method

RichTextBuilder space([
  1. int count = 1
])

Implementation

RichTextBuilder space([int count = 1]) {
  var space = '';
  count.repeat(() {
    space += " ";
  });
  children.add(TextSpan(text: space));
  return this;
}