TextOptions constructor

TextOptions({
  1. bool bold = false,
  2. bool italic = false,
  3. bool underlined = false,
})

The constructor can add bold, italic, or underline styles. By default, all styles are set to false.

Implementation

TextOptions(
    {this.bold = false, this.italic = false, this.underlined = false});