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

    Class CupertinoPicker

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    CupertinoPicker
    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.cupertino
    Syntax
    public class CupertinoPicker : StatefulWidget

    Constructors

    CupertinoPicker(Single, ValueChanged<Int32>, List<Widget>, Key, Single, Color, Single, Boolean, Single, FixedExtentScrollController, Boolean, ListWheelChildDelegate)

    Declaration
    public CupertinoPicker(float itemExtent, ValueChanged<int> onSelectedItemChanged, List<Widget> children = null, Key key = null, float diameterRatio = 1.35F, Color backgroundColor = null, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, FixedExtentScrollController scrollController = null, bool looping = false, ListWheelChildDelegate childDelegate = null)
    Parameters
    Type Name Description
    Single itemExtent
    ValueChanged<Int32> onSelectedItemChanged
    List<Widget> children
    Key key
    Single diameterRatio
    Color backgroundColor
    Single offAxisFraction
    Boolean useMagnifier
    Single magnification
    FixedExtentScrollController scrollController
    Boolean looping
    ListWheelChildDelegate childDelegate

    Fields

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    childDelegate

    Declaration
    public readonly ListWheelChildDelegate childDelegate
    Field Value
    Type Description
    ListWheelChildDelegate

    diameterRatio

    Declaration
    public readonly float diameterRatio
    Field Value
    Type Description
    Single

    itemExtent

    Declaration
    public readonly float itemExtent
    Field Value
    Type Description
    Single

    magnification

    Declaration
    public readonly float magnification
    Field Value
    Type Description
    Single

    offAxisFraction

    Declaration
    public readonly float offAxisFraction
    Field Value
    Type Description
    Single

    onSelectedItemChanged

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

    scrollController

    Declaration
    public readonly FixedExtentScrollController scrollController
    Field Value
    Type Description
    FixedExtentScrollController

    useMagnifier

    Declaration
    public readonly bool useMagnifier
    Field Value
    Type Description
    Boolean

    Methods

    builder(Single, ValueChanged<Int32>, IndexedWidgetBuilder, Key, Single, Color, Single, Boolean, Single, FixedExtentScrollController, Nullable<Int32>)

    Declaration
    public static CupertinoPicker builder(float itemExtent, ValueChanged<int> onSelectedItemChanged, IndexedWidgetBuilder itemBuilder, Key key = null, float diameterRatio = 1.35F, Color backgroundColor = null, float offAxisFraction = 0F, bool useMagnifier = false, float magnification = 1F, FixedExtentScrollController scrollController = null, int? childCount = default(int? ))
    Parameters
    Type Name Description
    Single itemExtent
    ValueChanged<Int32> onSelectedItemChanged
    IndexedWidgetBuilder itemBuilder
    Key key
    Single diameterRatio
    Color backgroundColor
    Single offAxisFraction
    Boolean useMagnifier
    Single magnification
    FixedExtentScrollController scrollController
    Nullable<Int32> childCount
    Returns
    Type Description
    CupertinoPicker

    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