From 159bb94beaf20f3a964547e3787b2419b0e2cafc Mon Sep 17 00:00:00 2001 From: Abhishek Ghaskata Date: Fri, 14 May 2021 11:19:04 +0530 Subject: [PATCH] update the backwardsCompatibility to docs (#82344) --- packages/flutter/lib/src/material/app_bar_theme.dart | 4 ++++ 1 file changed, 4 insertions(+) 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]