Inheritance
System.Object
SliverAppBar
public class SliverAppBar : StatefulWidget
Constructors
SliverAppBar(Key, Widget, Boolean, Widget, List<Widget>, Widget, PreferredSizeWidget, Nullable<Single>, Boolean, Color, Nullable<Brightness>, IconThemeData, TextTheme, Boolean, Nullable<Boolean>, Single, Nullable<Single>, Boolean, Boolean, Boolean)
Declaration
public SliverAppBar(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? ), bool forceElevated = false, Color backgroundColor = null, Brightness? brightness = default(Brightness? ), IconThemeData iconTheme = null, TextTheme textTheme = null, bool primary = true, bool? centerTitle = default(bool? ), float titleSpacing = 16F, float? expandedHeight = default(float? ), bool floating = false, bool pinned = false, bool snap = false)
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 |
|
System.Boolean |
forceElevated |
|
Color |
backgroundColor |
|
System.Nullable<Brightness> |
brightness |
|
IconThemeData |
iconTheme |
|
TextTheme |
textTheme |
|
System.Boolean |
primary |
|
System.Nullable<System.Boolean> |
centerTitle |
|
System.Single |
titleSpacing |
|
System.Nullable<System.Single> |
expandedHeight |
|
System.Boolean |
floating |
|
System.Boolean |
pinned |
|
System.Boolean |
snap |
|
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 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 float? expandedHeight
Field Value
Type |
Description |
System.Nullable<System.Single> |
|
Declaration
public readonly Widget flexibleSpace
Field Value
Declaration
public readonly bool floating
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool forceElevated
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly IconThemeData iconTheme
Field Value
Declaration
public readonly Widget leading
Field Value
Declaration
public readonly bool pinned
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool primary
Field Value
Type |
Description |
System.Boolean |
|
Declaration
public readonly bool snap
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 |
|
Methods
Declaration
public override State createState()
Returns
Overrides