textStyle property Null safety

TextStyle? textStyle

TextStyle to apply to any text that appears in this button.

Dialog actions have a built-in text resizing policy for long text. To ensure that this resizing policy always works as expected, textStyle must be used if a text size is desired other than that specified in _kCupertinoDialogActionStyle.


final TextStyle? textStyle;