Unverified Commit 3a00c4e7 authored by Abhishek Ghaskata's avatar Abhishek Ghaskata Committed by GitHub

change the documentation of bottom navigation bar (#67218)

parent 6e5f9ed9
...@@ -21,7 +21,7 @@ import 'framework.dart'; ...@@ -21,7 +21,7 @@ import 'framework.dart';
class BottomNavigationBarItem { class BottomNavigationBarItem {
/// Creates an item that is used with [BottomNavigationBar.items]. /// 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({ const BottomNavigationBarItem({
required this.icon, required this.icon,
@Deprecated( @Deprecated(
......
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