boldStrikethrough method

Text boldStrikethrough()

Makes the text bold with strikethrough.

This is a convenience method that combines bold font weight and strikethrough decoration.

Returns a new Text widget with bold and strikethrough styling.

Example:

Text('Bold strikethrough text').boldStrikethrough();

Implementation

Text boldStrikethrough() => styled(
    fontWeight: FontWeight.bold, decoration: TextDecoration.lineThrough);