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

    Class Banner

    Inheritance
    Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    Banner
    Inherited Members
    StatelessWidget.createElement()
    Widget.key
    Widget.toStringShort()
    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.widgets
    Syntax
    public class Banner : StatelessWidget

    Constructors

    Banner(Key, Widget, String, Nullable<BannerLocation>, Color, TextStyle)

    Declaration
    public Banner(Key key = null, Widget child = null, string message = null, BannerLocation? location = default(BannerLocation? ), Color color = null, TextStyle textStyle = null)
    Parameters
    Type Name Description
    Key key
    Widget child
    String message
    Nullable<BannerLocation> location
    Color color
    TextStyle textStyle

    Fields

    child

    Declaration
    public readonly Widget child
    Field Value
    Type Description
    Widget

    color

    Declaration
    public readonly Color color
    Field Value
    Type Description
    Color

    location

    Declaration
    public readonly BannerLocation? location
    Field Value
    Type Description
    Nullable<BannerLocation>

    message

    Declaration
    public readonly string message
    Field Value
    Type Description
    String

    textStyle

    Declaration
    public readonly TextStyle textStyle
    Field Value
    Type Description
    TextStyle

    Methods

    build(BuildContext)

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

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    Widget.debugFillProperties(DiagnosticPropertiesBuilder)
    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