style property

TextStyle? style
final

The style of the text to be displayed.

Sample code

This marquee has a bold text:

Marquee(
  text: 'This is some bold text.',
  style: TextStyle(weight: FontWeight.bold)
)

See also:

  • text to provide the text itself.

Implementation

final TextStyle? style;