Unverified Commit d914d5d2 authored by xubaolin's avatar xubaolin Committed by GitHub

Fix typos in the [BottomNavigationBar] document (#67811)

parent eefcff90
......@@ -314,10 +314,10 @@ class BottomNavigationBar extends StatefulWidget {
/// Defaults to `12.0`.
final double unselectedFontSize;
/// Whether the labels are shown for the selected [BottomNavigationBarItem].
/// Whether the labels are shown for the unselected [BottomNavigationBarItem]s.
final bool? showUnselectedLabels;
/// Whether the labels are shown for the unselected [BottomNavigationBarItem]s.
/// Whether the labels are shown for the selected [BottomNavigationBarItem].
final bool showSelectedLabels;
/// The cursor for a mouse pointer when it enters or is hovering over the
......
......@@ -91,12 +91,12 @@ class BottomNavigationBarThemeData with Diagnosticable {
/// See [BottomNavigationBar.unselectedLabelStyle].
final TextStyle? unselectedLabelStyle;
/// Whether the labels are shown for the unselected [BottomNavigationBarItem]s.
/// Whether the labels are shown for the selected [BottomNavigationBarItem].
///
/// See [BottomNavigationBar.showSelectedLabels].
final bool? showSelectedLabels;
/// Whether the labels are shown for the selected [BottomNavigationBarItem].
/// Whether the labels are shown for the unselected [BottomNavigationBarItem]s.
///
/// See [BottomNavigationBar.showUnselectedLabels].
final bool? showUnselectedLabels;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment