toolbarTextStyle property
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.bodyMedium TextStyle, with color set to the app bar's foregroundColor.
See also:
- titleTextStyle, which overrides the default text style for the
title
. - DefaultTextStyle, which overrides the default text style for all of the widgets in a subtree.
Implementation
final TextStyle? toolbarTextStyle;