TextAnnotations constructor
TextAnnotations({})
Main text annotations constructor.
Can receive if the text will be bold
, italic
, strikethrough
, underline
and/or code
. Also the color
of the text.
Valid colors are defined by the Colors enum. By default the color type is... Default dah.
Implementation
TextAnnotations({
this.bold: false,
this.italic: false,
this.strikethrough: false,
this.underline: false,
this.code: false,
this.color: ColorsTypes.Default,
});