diff --git a/packages/flutter/lib/src/material/app_bar_theme.dart b/packages/flutter/lib/src/material/app_bar_theme.dart index 263af6416e..8019539cf7 100644 --- a/packages/flutter/lib/src/material/app_bar_theme.dart +++ b/packages/flutter/lib/src/material/app_bar_theme.dart @@ -157,6 +157,8 @@ class AppBarTheme with Diagnosticable { /// Overrides the default value for the obsolete [AppBar.toolbarTextStyle] /// property in all descendant [AppBar] widgets. /// + /// If this property is specified, then [backwardsCompatibility] should be true. + /// /// See also: /// /// * [titleTextStyle], which overrides the default of [AppBar.titleTextStyle] @@ -166,6 +168,8 @@ class AppBarTheme with Diagnosticable { /// Overrides the default value of [AppBar.titleTextStyle] /// property in all descendant [AppBar] widgets. /// + /// If this property is specified, then [backwardsCompatibility] should be true. + /// /// See also: /// /// * [toolbarTextStyle], which overrides the default of [AppBar.toolbarTextStyle]