From 3a00c4e73cd2d706204e612aa4adf36420f130ca Mon Sep 17 00:00:00 2001 From: Abhishek Ghaskata <56479665+Abhishek01039@users.noreply.github.com> Date: Tue, 6 Oct 2020 00:52:03 +0530 Subject: [PATCH] change the documentation of bottom navigation bar (#67218) --- .../flutter/lib/src/widgets/bottom_navigation_bar_item.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart b/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart index 00e3c5dd951..7b41870844a 100644 --- a/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart +++ b/packages/flutter/lib/src/widgets/bottom_navigation_bar_item.dart @@ -21,7 +21,7 @@ import 'framework.dart'; class BottomNavigationBarItem { /// Creates an item that is used with [BottomNavigationBar.items]. /// - /// The argument [icon] should not be null and the argument [title] should not be null when used in a Material Design's [BottomNavigationBar]. + /// The argument [icon] should not be null and the argument [label] should not be null when used in a Material Design's [BottomNavigationBar]. const BottomNavigationBarItem({ required this.icon, @Deprecated(