style property

TextStyle? style
final

Allows to apply custom TextStyle to text.

null by default.

Example:

TextScroll(
  'Styled text',
  style: TextStyle(
    color: Colors.red,
  ),
)

Implementation

final TextStyle? style;