textAlign property

TextAlign? textAlign
final

The alignment of the text within the spoiler widget.

This allows controlling the horizontal alignment of the text, such as TextAlign.center, TextAlign.left, TextAlign.right, etc. If null, the default alignment of the parent widget will be used.

Implementation

final TextAlign? textAlign;