textStyle property Null safety

TextStyle? textStyle
final

The TextStyle to apply to any text in these toggle buttons.

TextStyle.color will be ignored and substituted by color, selectedColor or disabledColor depending on whether the buttons are active, selected, or disabled.

Implementation

final TextStyle? textStyle;