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

    Class AppBar

    Inheritance
    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>, ShapeBorder, Color, Nullable<Brightness>, IconThemeData, 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? ), ShapeBorder shape = null, Color backgroundColor = null, Brightness? brightness = default(Brightness? ), IconThemeData iconTheme = null, IconThemeData actionsIconTheme = 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
    Boolean automaticallyImplyLeading
    Widget title
    List<Widget> actions
    Widget flexibleSpace
    PreferredSizeWidget bottom
    Nullable<Single> elevation
    ShapeBorder shape
    Color backgroundColor
    Nullable<Brightness> brightness
    IconThemeData iconTheme
    IconThemeData actionsIconTheme
    TextTheme textTheme
    Boolean primary
    Nullable<Boolean> centerTitle
    Single titleSpacing
    Single toolbarOpacity
    Single bottomOpacity

    Fields

    actions

    Declaration
    public readonly List<Widget> actions
    Field Value
    Type Description
    List<Widget>

    actionsIconTheme

    Declaration
    public readonly IconThemeData actionsIconTheme
    Field Value
    Type Description
    IconThemeData

    automaticallyImplyLeading

    Declaration
    public readonly bool automaticallyImplyLeading
    Field Value
    Type Description
    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
    Single

    brightness

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

    centerTitle

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

    elevation

    Declaration
    public readonly float? elevation
    Field Value
    Type Description
    Nullable<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
    Boolean

    shape

    Declaration
    public readonly ShapeBorder shape
    Field Value
    Type Description
    ShapeBorder

    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
    Single

    toolbarOpacity

    Declaration
    public readonly float toolbarOpacity
    Field Value
    Type Description
    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
    Nullable<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