Added documentation for AppBar actions (#109351)

* Added documentation for AppBar actions

Co-authored-by: Qun Cheng <quncheng@google.com>
This commit is contained in:
Qun Cheng
2022-08-11 13:40:10 -07:00
committed by GitHub
parent edd466811d
commit 1eb871276b

View File

@@ -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}