mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
change the documentation of bottom navigation bar (#67218)
This commit is contained in:
parent
6e5f9ed94d
commit
3a00c4e73c
@ -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(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user