Class BottomNavigationBar | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class BottomNavigationBar

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    BottomNavigationBar
    Inherited Members
    StatefulWidget.createElement()
    Widget.key
    Widget.toStringShort()
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    Widget.canUpdate(Widget, Widget)
    CanonicalMixinDiagnosticableTree.pureWidget
    CanonicalMixinDiagnosticableTree.Equals(Object)
    CanonicalMixinDiagnosticableTree.GetHashCode()
    DiagnosticableTree.toStringShallow(String, DiagnosticLevel)
    DiagnosticableTree.toStringDeep(String, String, DiagnosticLevel)
    DiagnosticableTree.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    DiagnosticableTree.debugDescribeChildren()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Namespace: Unity.UIWidgets.material
    Syntax
    public class BottomNavigationBar : StatefulWidget

    Constructors

    BottomNavigationBar(Key, List<BottomNavigationBarItem>, ValueChanged<Int32>, Int32, Single, Nullable<BottomNavigationBarType>, Color, Color, Single, Color, Color, Single, Single, Boolean, Nullable<Boolean>)

    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
    Type Name Description
    Key key
    List<BottomNavigationBarItem> items
    ValueChanged<Int32> onTap
    Int32 currentIndex
    Single elevation
    Nullable<BottomNavigationBarType> type
    Color fixedColor
    Color backgroundColor
    Single iconSize
    Color selectedItemColor
    Color unselectedItemColor
    Single selectedFontSize
    Single unselectedFontSize
    Boolean showSelectedLabels
    Nullable<Boolean> showUnselectedLabels

    Fields

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    currentIndex

    Declaration
    public readonly int currentIndex
    Field Value
    Type Description
    Int32

    elevation

    Declaration
    public readonly float elevation
    Field Value
    Type Description
    Single

    iconSize

    Declaration
    public readonly float iconSize
    Field Value
    Type Description
    Single

    items

    Declaration
    public readonly List<BottomNavigationBarItem> items
    Field Value
    Type Description
    List<BottomNavigationBarItem>

    onTap

    Declaration
    public readonly ValueChanged<int> onTap
    Field Value
    Type Description
    ValueChanged<Int32>

    selectedFontSize

    Declaration
    public readonly float selectedFontSize
    Field Value
    Type Description
    Single

    selectedItemColor

    Declaration
    public readonly Color selectedItemColor
    Field Value
    Type Description
    Color

    showSelectedLabels

    Declaration
    public readonly bool showSelectedLabels
    Field Value
    Type Description
    Boolean

    showUnselectedLabels

    Declaration
    public readonly bool showUnselectedLabels
    Field Value
    Type Description
    Boolean

    type

    Declaration
    public readonly BottomNavigationBarType? type
    Field Value
    Type Description
    Nullable<BottomNavigationBarType>

    unselectedFontSize

    Declaration
    public readonly float unselectedFontSize
    Field Value
    Type Description
    Single

    unselectedItemColor

    Declaration
    public readonly Color unselectedItemColor
    Field Value
    Type Description
    Color

    Properties

    fixedColor

    Declaration
    public Color fixedColor { get; }
    Property Value
    Type Description
    Color

    Methods

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023