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

    Class Card

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    Card
    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.material
    Syntax
    public class Card : StatelessWidget

    Constructors

    Card(Key, Color, Nullable<Single>, ShapeBorder, Boolean, EdgeInsets, Nullable<Clip>, Widget)

    Declaration
    public Card(Key key = null, Color color = null, float? elevation = default(float? ), ShapeBorder shape = null, bool borderOnForeground = true, EdgeInsets margin = null, Clip? clipBehavior = default(Clip? ), Widget child = null)
    Parameters
    Type Name Description
    Key key
    Color color
    System.Nullable<System.Single> elevation
    ShapeBorder shape
    System.Boolean borderOnForeground
    EdgeInsets margin
    System.Nullable<Clip> clipBehavior
    Widget child

    Fields

    borderOnForeground

    Declaration
    public readonly bool borderOnForeground
    Field Value
    Type Description
    System.Boolean

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    clipBehavior

    Declaration
    public readonly Clip? clipBehavior
    Field Value
    Type Description
    System.Nullable<Clip>

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    elevation

    Declaration
    public readonly float? elevation
    Field Value
    Type Description
    System.Nullable<System.Single>

    margin

    Declaration
    public readonly EdgeInsets margin
    Field Value
    Type Description
    EdgeInsets

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    Methods

    build(BuildContext)

    Declaration
    public override Widget build(BuildContext context)
    Parameters
    Type Name Description
    BuildContext context
    Returns
    Type Description
    Widget
    Overrides
    StatelessWidget.build(BuildContext)
    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