Text constructor

Text(
  1. String text, {
  2. TextAnnotations? annotations,
  3. Uri? url,
})

Main text constructor.

Required the text itself. Also can receive the annotations and/or the url of the text.

Implementation

Text(this.text, {this.annotations, this.url});