TextAnnotations constructor

TextAnnotations({
  1. required bool bold,
  2. required bool italic,
  3. required bool strikethrough,
  4. required bool underline,
  5. required bool code,
  6. String? color,
})

Returns a new TextAnnotations instance.

Implementation

TextAnnotations({
  required this.bold,
  required this.italic,
  required this.strikethrough,
  required this.underline,
  required this.code,
  this.color,
});