text property Null safety

String text
final

The text of the license.

The text will be split into paragraphs according to the following conventions:

  • Lines starting with a different number of space characters than the previous line start a new paragraph, with those spaces removed.
  • Blank lines start a new paragraph.
  • Other line breaks are replaced by a single space character.
  • Leading spaces on a line are removed.

For each paragraph, the algorithm attempts (using some rough heuristics) to identify how indented the paragraph is, or whether it is centered.

Implementation

final String text;