set_text_style method

  1. @override
void set_text_style({
  1. bool bold = false,
  2. bool underscore = false,
  3. bool blink = false,
  4. bool inverted = false,
})
override

Sets the text style.

Note that not all styles may be supported by all terminals.

Implementation

@override
void set_text_style({
  final bool bold = false,
  final bool underscore = false,
  final bool blink = false,
  final bool inverted = false,
}) {
  stdout.write(
    ansi_set_text_styles(
      bold: bold,
      underscore: underscore,
      blink: blink,
      inverted: inverted,
    ),
  );
}