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.

Overrides the default value of the obsolete AppBar.textTheme property in all descendant AppBar widgets.

See also:

  • toolbarTextStyle, which overrides the default value of [AppBar.toolbarTextStyle in all descendant AppBar widgets.
  • titleTextStyle, which overrides the default value of [AppBar.titleTextStyle in all descendant AppBar widgets.

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;