Inheritance
System.Object
AppBar
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
Declaration
public readonly List<Widget> actions
Field Value
Type |
Description |
System.Collections.Generic.List<Widget> |
|
Declaration
public readonly bool automaticallyImplyLeading
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly Color backgroundColor
Field Value
Declaration
public readonly PreferredSizeWidget bottom
Field Value
Declaration
public readonly float bottomOpacity
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly Brightness? brightness
Field Value
Declaration
public readonly bool? centerTitle
Field Value
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public readonly float? elevation
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly Widget flexibleSpace
Field Value
Declaration
public readonly IconThemeData iconTheme
Field Value
Declaration
public readonly Widget leading
Field Value
Declaration
public readonly bool primary
Field Value
Type |
Description |
System.Boolean |
|
textTheme
Declaration
public readonly TextTheme textTheme
Field Value
Declaration
public readonly Widget title
Field Value
Declaration
public readonly float titleSpacing
Field Value
Type |
Description |
System.Single |
|
Declaration
public readonly float toolbarOpacity
Field Value
Type |
Description |
System.Single |
|
Properties
Declaration
public override Size preferredSize { get; }
Property Value
Overrides
Methods
Declaration
public bool? _getEffectiveCenterTitle(ThemeData themeData)
Parameters
Returns
Type |
Description |
System.Nullable<System.Boolean> |
|
Declaration
public override State createState()
Returns
Overrides