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

    Class AppBar

    Inheritance
    System.Object
    Diagnosticable
    DiagnosticableTree
    CanonicalMixinDiagnosticableTree
    Widget
    StatefulWidget
    PreferredSizeWidget
    AppBar
    Inherited Members
    StatefulWidget.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 AppBar : PreferredSizeWidget, SizePreferred

    Constructors

    AppBar(Key, Widget, Boolean, Widget, List<Widget>, Widget, PreferredSizeWidget, Nullable<Single>, Color, Nullable<Brightness>, IconThemeData, TextTheme, Boolean, Nullable<Boolean>, Single, Single, Single)

    Declaration
    public AppBar(Key key = null, Widget leading = null, bool automaticallyImplyLeading = true, Widget title = null, List<Widget> actions = null, Widget flexibleSpace = null, PreferredSizeWidget bottom = null, float? elevation = default(float? ), Color backgroundColor = null, Brightness? brightness = default(Brightness? ), IconThemeData iconTheme = null, TextTheme textTheme = null, bool primary = true, bool? centerTitle = default(bool? ), float titleSpacing = 16F, float toolbarOpacity = 1F, float bottomOpacity = 1F)
    Parameters
    Type Name Description
    Key key
    Widget leading
    System.Boolean automaticallyImplyLeading
    Widget title
    System.Collections.Generic.List<Widget> actions
    Widget flexibleSpace
    PreferredSizeWidget bottom
    System.Nullable<System.Single> elevation
    Color backgroundColor
    System.Nullable<Brightness> brightness
    IconThemeData iconTheme
    TextTheme textTheme
    System.Boolean primary
    System.Nullable<System.Boolean> centerTitle
    System.Single titleSpacing
    System.Single toolbarOpacity
    System.Single bottomOpacity

    Fields

    actions

    Declaration
    public readonly List<Widget> actions
    Field Value
    Type Description
    System.Collections.Generic.List<Widget>

    automaticallyImplyLeading

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

    backgroundColor

    Declaration
    public readonly Color backgroundColor
    Field Value
    Type Description
    Color

    bottom

    Declaration
    public readonly PreferredSizeWidget bottom
    Field Value
    Type Description
    PreferredSizeWidget

    bottomOpacity

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

    brightness

    Declaration
    public readonly Brightness? brightness
    Field Value
    Type Description
    System.Nullable<Brightness>

    centerTitle

    Declaration
    public readonly bool? centerTitle
    Field Value
    Type Description
    System.Nullable<System.Boolean>

    elevation

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

    flexibleSpace

    Declaration
    public readonly Widget flexibleSpace
    Field Value
    Type Description
    Widget

    iconTheme

    Declaration
    public readonly IconThemeData iconTheme
    Field Value
    Type Description
    IconThemeData

    leading

    Declaration
    public readonly Widget leading
    Field Value
    Type Description
    Widget

    primary

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

    textTheme

    Declaration
    public readonly TextTheme textTheme
    Field Value
    Type Description
    TextTheme

    title

    Declaration
    public readonly Widget title
    Field Value
    Type Description
    Widget

    titleSpacing

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

    toolbarOpacity

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

    Properties

    preferredSize

    Declaration
    public override Size preferredSize { get; }
    Property Value
    Type Description
    Size
    Overrides
    PreferredSizeWidget.preferredSize

    Methods

    _getEffectiveCenterTitle(ThemeData)

    Declaration
    public bool? _getEffectiveCenterTitle(ThemeData themeData)
    Parameters
    Type Name Description
    ThemeData themeData
    Returns
    Type Description
    System.Nullable<System.Boolean>

    createState()

    Declaration
    public override State createState()
    Returns
    Type Description
    State
    Overrides
    StatefulWidget.createState()
    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