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.'), 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.

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;