Unverified Commit b84d8ee2 authored by Abhishek Ghaskata's avatar Abhishek Ghaskata Committed by GitHub

Bottom navigation items length docs (#72490)

parent e2a0d03b
......@@ -50,6 +50,9 @@ enum BottomNavigationBarType {
/// [BottomNavigationBarType.fixed] when there are less than four items, and
/// [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
/// four [items]. The selected item is rendered with the
/// [selectedItemColor] if it's non-null, otherwise the theme's
......
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