Class FormFieldState<T> | UIWidgets | 1.5.4-preview.12
docs.unity3d.com
    Show / Hide Table of Contents

    Class FormFieldState<T>

    Inheritance
    Object
    Diagnosticable
    State
    State<FormField<T>>
    FormFieldState<T>
    Inherited Members
    State<FormField<T>>.widget
    State<FormField<T>>._debugTypesAreRight(Widget)
    State.context
    State.mounted
    State.didUpdateWidget(StatefulWidget)
    State.setState(VoidCallback)
    State.dispose()
    State.didChangeDependencies()
    State.debugFillProperties(DiagnosticPropertiesBuilder)
    Diagnosticable.toStringShort()
    Diagnosticable.ToString()
    Diagnosticable.toString(DiagnosticLevel)
    Diagnosticable.toDiagnosticsNode(String, DiagnosticsTreeStyle)
    Namespace: Unity.UIWidgets.widgets
    Syntax
    public class FormFieldState<T> : State<FormField<T>>, FormFieldState where T : class
    Type Parameters
    Name Description
    T

    Properties

    errorText

    Declaration
    public string errorText { get; }
    Property Value
    Type Description
    String

    hasError

    Declaration
    public bool hasError { get; }
    Property Value
    Type Description
    Boolean

    value

    Declaration
    public T value { get; }
    Property Value
    Type Description
    T

    Methods

    build(BuildContext)

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

    deactivate()

    Declaration
    public override void deactivate()
    Overrides
    State.deactivate()

    didChange(T)

    Declaration
    public virtual void didChange(T value)
    Parameters
    Type Name Description
    T value

    initState()

    Declaration
    public override void initState()
    Overrides
    State.initState()

    reset()

    Declaration
    public virtual void reset()
    Implements
    FormFieldState.reset()

    save()

    Declaration
    public void save()
    Implements
    FormFieldState.save()

    setValue(T)

    Declaration
    protected void setValue(T value)
    Parameters
    Type Name Description
    T value

    validate()

    Declaration
    public bool validate()
    Returns
    Type Description
    Boolean
    Implements
    FormFieldState.validate()
    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