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.subtitle1 of ThemeData.textTheme is used.

Implementation

final TextStyle? textStyle;