Inheritance
BottomNavigationBar
public class BottomNavigationBar : StatefulWidget
Constructors
Declaration
public BottomNavigationBar(Key key = null, List<BottomNavigationBarItem> items = null, ValueChanged<int> onTap = null, int currentIndex = 0, float elevation = 8F, BottomNavigationBarType? type = default(BottomNavigationBarType? ), Color fixedColor = null, Color backgroundColor = null, float iconSize = 24F, Color selectedItemColor = null, Color unselectedItemColor = null, float selectedFontSize = 14F, float unselectedFontSize = 12F, bool showSelectedLabels = true, bool? showUnselectedLabels = default(bool? ))
Parameters
Fields
Declaration
public readonly Color backgroundColor
Field Value
Declaration
public readonly int currentIndex
Field Value
Declaration
public readonly float elevation
Field Value
Declaration
public readonly float iconSize
Field Value
Declaration
public readonly List<BottomNavigationBarItem> items
Field Value
Declaration
public readonly ValueChanged<int> onTap
Field Value
Declaration
public readonly float selectedFontSize
Field Value
Declaration
public readonly Color selectedItemColor
Field Value
Declaration
public readonly bool showSelectedLabels
Field Value
Declaration
public readonly bool showUnselectedLabels
Field Value
Declaration
public readonly BottomNavigationBarType? type
Field Value
Declaration
public readonly float unselectedFontSize
Field Value
Declaration
public readonly Color unselectedItemColor
Field Value
Properties
Declaration
public Color fixedColor { get; }
Property Value
Methods
Declaration
public override State createState()
Returns
Overrides