textStyle property Null safety

TextStyle? textStyle
final

The style to use for the message of the tooltip.

If null, the message's TextStyle will be determined based on ThemeData. If ThemeData.brightness is set to Brightness.dark, TextTheme.bodyMedium of ThemeData.textTheme will be used with Colors.white. Otherwise, if ThemeData.brightness is set to Brightness.light, TextTheme.bodyMedium of ThemeData.textTheme will be used with Colors.black.

Implementation

final TextStyle? textStyle;