toolbarTextStyle property Null safety

TextStyle? toolbarTextStyle

The default text style for the AppBar's leading, and actions widgets, but not its title.

If this property is null, then AppBarTheme.toolbarTextStyle of ThemeData.appBarTheme is used. If that is also null, the default value is a copy of the overall theme's TextTheme.bodyText2 TextStyle, with color set to the app bar's foregroundColor.

See also:


final TextStyle? toolbarTextStyle;