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

    Class DatePickerUtils

    Inheritance
    Object
    DatePickerUtils
    Namespace: Unity.UIWidgets.material
    Syntax
    public class DatePickerUtils

    Fields

    _kDatePickerHeaderLandscapeWidth

    Declaration
    public const float _kDatePickerHeaderLandscapeWidth = 168F
    Field Value
    Type Description
    Single

    _kDatePickerHeaderPortraitHeight

    Declaration
    public const float _kDatePickerHeaderPortraitHeight = 100F
    Field Value
    Type Description
    Single

    _kDatePickerLandscapeHeight

    Declaration
    public const float _kDatePickerLandscapeHeight = 388F
    Field Value
    Type Description
    Single

    _kDayPickerRowHeight

    Declaration
    public const float _kDayPickerRowHeight = 42F
    Field Value
    Type Description
    Single

    _kDialogActionBarHeight

    Declaration
    public const float _kDialogActionBarHeight = 52F
    Field Value
    Type Description
    Single

    _kMaxDayPickerHeight

    Declaration
    public const float _kMaxDayPickerHeight = 336F
    Field Value
    Type Description
    Single

    _kMaxDayPickerRowCount

    Declaration
    public const int _kMaxDayPickerRowCount = 6
    Field Value
    Type Description
    Int32

    _kMonthPickerLandscapeWidth

    Declaration
    public const float _kMonthPickerLandscapeWidth = 344F
    Field Value
    Type Description
    Single

    _kMonthPickerPortraitWidth

    Declaration
    public const float _kMonthPickerPortraitWidth = 330F
    Field Value
    Type Description
    Single

    _kMonthScrollDuration

    Declaration
    public static readonly TimeSpan _kMonthScrollDuration
    Field Value
    Type Description
    TimeSpan

    Methods

    showDatePicker(BuildContext, DateTime, DateTime, DateTime, SelectableDayPredicate, DatePickerMode, Locale, TransitionBuilder)

    Declaration
    public static IPromise<object> showDatePicker(BuildContext context, DateTime initialDate, DateTime firstDate, DateTime lastDate, SelectableDayPredicate selectableDayPredicate = null, DatePickerMode initialDatePickerMode = DatePickerMode.day, Locale locale = null, TransitionBuilder builder = null)
    Parameters
    Type Name Description
    BuildContext context
    DateTime initialDate
    DateTime firstDate
    DateTime lastDate
    SelectableDayPredicate selectableDayPredicate
    DatePickerMode initialDatePickerMode
    Locale locale
    TransitionBuilder builder
    Returns
    Type Description
    IPromise<Object>
    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