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

    Class AssetCard

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

    Constructors

    AssetCard(String, String, Single, Single, Boolean, String)

    Declaration
    public AssetCard(string name, string category, float price, float priceDiscount, bool showBadge, string imageSrc)
    Parameters
    Type Name Description
    System.String name
    System.String category
    System.Single price
    System.Single priceDiscount
    System.Boolean showBadge
    System.String imageSrc

    Fields

    category

    Declaration
    public readonly string category
    Field Value
    Type Description
    System.String

    imageSrc

    Declaration
    public readonly string imageSrc
    Field Value
    Type Description
    System.String

    name

    Declaration
    public readonly string name
    Field Value
    Type Description
    System.String

    price

    Declaration
    public readonly float price
    Field Value
    Type Description
    System.Single

    priceDiscount

    Declaration
    public readonly float priceDiscount
    Field Value
    Type Description
    System.Single

    showBadge

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

    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