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

    Class CupertinoTabBar

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    CupertinoTabBar
    Inherited Members
    StatelessWidget.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.cupertino
    Syntax
    public class CupertinoTabBar : StatelessWidget

    Constructors

    CupertinoTabBar(Key, List<BottomNavigationBarItem>, ValueChanged<Int32>, Int32, Color, Color, Color, Single, Border)

    Declaration
    public CupertinoTabBar(Key key = null, List<BottomNavigationBarItem> items = null, ValueChanged<int> onTap = null, int currentIndex = 0, Color backgroundColor = null, Color activeColor = null, Color inactiveColor = null, float iconSize = 30F, Border border = null)
    Parameters
    Type Name Description
    Key key
    List<BottomNavigationBarItem> items
    ValueChanged<Int32> onTap
    Int32 currentIndex
    Color backgroundColor
    Color activeColor
    Color inactiveColor
    Single iconSize
    Border border

    Fields

    activeColor

    Declaration
    public readonly Color activeColor
    Field Value
    Type Description
    Color

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    border

    Declaration
    public readonly Border border
    Field Value
    Type Description
    Border

    currentIndex

    Declaration
    public readonly int currentIndex
    Field Value
    Type Description
    Int32

    iconSize

    Declaration
    public readonly float iconSize
    Field Value
    Type Description
    Single

    inactiveColor

    Declaration
    public readonly Color inactiveColor
    Field Value
    Type Description
    Color

    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>

    Properties

    preferredSize

    Declaration
    public Size preferredSize { get; }
    Property Value
    Type Description
    Size

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)

    copyWith(Key, List<BottomNavigationBarItem>, Color, Color, Color, Nullable<Single>, Border, Nullable<Int32>, ValueChanged<Int32>)

    Declaration
    public CupertinoTabBar copyWith(Key key = null, List<BottomNavigationBarItem> items = null, Color backgroundColor = null, Color activeColor = null, Color inactiveColor = null, float? iconSize = default(float? ), Border border = null, int? currentIndex = default(int? ), ValueChanged<int> onTap = null)
    Parameters
    Type Name Description
    Key key
    List<BottomNavigationBarItem> items
    Color backgroundColor
    Color activeColor
    Color inactiveColor
    Nullable<Single> iconSize
    Border border
    Nullable<Int32> currentIndex
    ValueChanged<Int32> onTap
    Returns
    Type Description
    CupertinoTabBar

    opaque(BuildContext)

    Declaration
    public bool opaque(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Boolean
    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