From 1eb871276b4860eba80d5513dab4f9d8a43096c7 Mon Sep 17 00:00:00 2001 From: Qun Cheng <36861262+QuncCccccc@users.noreply.github.com> Date: Thu, 11 Aug 2022 13:40:10 -0700 Subject: [PATCH] Added documentation for AppBar actions (#109351) * Added documentation for AppBar actions Co-authored-by: Qun Cheng --- packages/flutter/lib/src/material/app_bar.dart | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packages/flutter/lib/src/material/app_bar.dart b/packages/flutter/lib/src/material/app_bar.dart index 1ca6960082..afd166f6f7 100644 --- a/packages/flutter/lib/src/material/app_bar.dart +++ b/packages/flutter/lib/src/material/app_bar.dart @@ -343,6 +343,9 @@ class AppBar extends StatefulWidget implements PreferredSizeWidget { /// The [actions] become the trailing component of the [NavigationToolbar] built /// by this widget. The height of each action is constrained to be no bigger /// than the [toolbarHeight]. + /// + /// To avoid having the last action covered by the debug banner, you may want + /// to set the [MaterialApp.debugShowCheckedModeBanner] to false. /// {@endtemplate} /// /// {@tool snippet}