textStyle property Null safety

TextStyle? textStyle
final

The text style of the popup menu item.

If this property is null, then PopupMenuThemeData.textStyle is used. If PopupMenuThemeData.textStyle is also null, then TextTheme.titleMedium of ThemeData.textTheme is used.

Implementation

final TextStyle? textStyle;