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

    Class OutlineButton

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatelessWidget
    MaterialButton
    OutlineButton
    Inherited Members
    MaterialButton.onPressed
    MaterialButton.onHighlightChanged
    MaterialButton.textTheme
    MaterialButton.textColor
    MaterialButton.disabledTextColor
    MaterialButton.color
    MaterialButton.disabledColor
    MaterialButton.splashColor
    MaterialButton.highlightColor
    MaterialButton.elevation
    MaterialButton.highlightElevation
    MaterialButton.disabledElevation
    MaterialButton.colorBrightness
    MaterialButton.child
    MaterialButton.enabled
    MaterialButton.padding
    MaterialButton.shape
    MaterialButton.clipBehavior
    MaterialButton.animationDuration
    MaterialButton.materialTapTargetSize
    MaterialButton.minWidth
    MaterialButton.height
    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.material
    Syntax
    public class OutlineButton : MaterialButton

    Constructors

    OutlineButton(Key, VoidCallback, Nullable<ButtonTextTheme>, Color, Color, Color, Color, Color, Nullable<Single>, BorderSide, Color, Color, EdgeInsets, ShapeBorder, Clip, Widget)

    Declaration
    public OutlineButton(Key key = null, VoidCallback onPressed = null, ButtonTextTheme? textTheme = default(ButtonTextTheme? ), Color textColor = null, Color disabledTextColor = null, Color color = null, Color highlightColor = null, Color splashColor = null, float? highlightElevation = default(float? ), BorderSide borderSide = null, Color disabledBorderColor = null, Color highlightedBorderColor = null, EdgeInsets padding = null, ShapeBorder shape = null, Clip clipBehavior = Clip.none, Widget child = null)
    Parameters
    Type Name Description
    Key key
    VoidCallback onPressed
    System.Nullable<ButtonTextTheme> textTheme
    Color textColor
    Color disabledTextColor
    Color color
    Color highlightColor
    Color splashColor
    System.Nullable<System.Single> highlightElevation
    BorderSide borderSide
    Color disabledBorderColor
    Color highlightedBorderColor
    EdgeInsets padding
    ShapeBorder shape
    Clip clipBehavior
    Widget child

    Fields

    borderSide

    Declaration
    public readonly BorderSide borderSide
    Field Value
    Type Description
    BorderSide

    disabledBorderColor

    Declaration
    public readonly Color disabledBorderColor
    Field Value
    Type Description
    Color

    highlightedBorderColor

    Declaration
    public readonly Color highlightedBorderColor
    Field Value
    Type Description
    Color

    Methods

    build(BuildContext)

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

    debugFillProperties(DiagnosticPropertiesBuilder)

    Declaration
    public override void debugFillProperties(DiagnosticPropertiesBuilder properties)
    Parameters
    Type Name Description
    DiagnosticPropertiesBuilder properties
    Overrides
    MaterialButton.debugFillProperties(DiagnosticPropertiesBuilder)

    icon(Key, VoidCallback, Nullable<ButtonTextTheme>, Color, Color, Color, Color, Color, Nullable<Single>, Color, Color, BorderSide, EdgeInsets, ShapeBorder, Clip, Widget, Widget)

    Declaration
    public static OutlineButton icon(Key key = null, VoidCallback onPressed = null, ButtonTextTheme? textTheme = default(ButtonTextTheme? ), Color textColor = null, Color disabledTextColor = null, Color color = null, Color highlightColor = null, Color splashColor = null, float? highlightElevation = default(float? ), Color highlightedBorderColor = null, Color disabledBorderColor = null, BorderSide borderSide = null, EdgeInsets padding = null, ShapeBorder shape = null, Clip clipBehavior = Clip.none, Widget icon = null, Widget label = null)
    Parameters
    Type Name Description
    Key key
    VoidCallback onPressed
    System.Nullable<ButtonTextTheme> textTheme
    Color textColor
    Color disabledTextColor
    Color color
    Color highlightColor
    Color splashColor
    System.Nullable<System.Single> highlightElevation
    Color highlightedBorderColor
    Color disabledBorderColor
    BorderSide borderSide
    EdgeInsets padding
    ShapeBorder shape
    Clip clipBehavior
    Widget icon
    Widget label
    Returns
    Type Description
    OutlineButton
    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