Bottom navigation items length docs (#72490)
This commit is contained in:
parent
e2a0d03b79
commit
b84d8ee2df
@ -50,6 +50,9 @@ enum BottomNavigationBarType {
|
|||||||
/// [BottomNavigationBarType.fixed] when there are less than four items, and
|
/// [BottomNavigationBarType.fixed] when there are less than four items, and
|
||||||
/// [BottomNavigationBarType.shifting] otherwise.
|
/// [BottomNavigationBarType.shifting] otherwise.
|
||||||
///
|
///
|
||||||
|
/// The length of [items] must be at least two and each item's icon and title/label
|
||||||
|
/// must not be null.
|
||||||
|
///
|
||||||
/// * [BottomNavigationBarType.fixed], the default when there are less than
|
/// * [BottomNavigationBarType.fixed], the default when there are less than
|
||||||
/// four [items]. The selected item is rendered with the
|
/// four [items]. The selected item is rendered with the
|
||||||
/// [selectedItemColor] if it's non-null, otherwise the theme's
|
/// [selectedItemColor] if it's non-null, otherwise the theme's
|
||||||
|
Loading…
x
Reference in New Issue
Block a user