Class BottomNavigationBar | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Class BottomNavigationBar

    Inheritance
    System.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, Nullable<BottomNavigationBarType>, Color, Single)

    Declaration
    public BottomNavigationBar(Key key = null, List<BottomNavigationBarItem> items = null, ValueChanged<int> onTap = null, int currentIndex = 0, BottomNavigationBarType? type = default(BottomNavigationBarType? ), Color fixedColor = null, float iconSize = 24F)
    Parameters
    Type Name Description
    Key key
    System.Collections.Generic.List<BottomNavigationBarItem> items
    ValueChanged<System.Int32> onTap
    System.Int32 currentIndex
    System.Nullable<BottomNavigationBarType> type
    Color fixedColor
    System.Single iconSize

    Fields

    currentIndex

    Declaration
    public readonly int currentIndex
    Field Value
    Type Description
    System.Int32

    fixedColor

    Declaration
    public readonly Color fixedColor
    Field Value
    Type Description
    Color

    iconSize

    Declaration
    public readonly float iconSize
    Field Value
    Type Description
    System.Single

    items

    Declaration
    public readonly List<BottomNavigationBarItem> items
    Field Value
    Type Description
    System.Collections.Generic.List<BottomNavigationBarItem>

    onTap

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

    type

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

    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