textTheme property Null safety

TextTheme? textTheme
Deprecated('This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')">@Deprecated('This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. ' 'This feature was deprecated after v2.4.0-0.0.pre.')final

This property is deprecated, please use toolbarTextStyle and titleTextStyle instead.

The typographic styles to use for text in the app bar. Typically this is set along with backgroundColor, iconTheme.

If this property is null, then AppBarTheme.textTheme of ThemeData.appBarTheme is used. If that is also null, then ThemeData.primaryTextTheme is used.

This property is used to configure an AppBar.

Implementation

@Deprecated(
  'This property is no longer used, please use toolbarTextStyle and titleTextStyle instead. '
  'This feature was deprecated after v2.4.0-0.0.pre.',
)
final TextTheme? textTheme;