logo
pub struct SliverAppBar {
Show 34 fields pub actions: Vec<Box<dyn Widget>>, pub actions_icon_theme: IconThemeData, pub automatically_imply_leading: bool, pub background_color: Color, pub backwards_compatibility: bool, pub bottom: Box<dyn PreferredSizeWidget>, pub brightness: Brightness, pub center_title: bool, pub collapsed_height: f32, pub elevation: f32, pub exclude_header_semantics: bool, pub expanded_height: f32, pub flexible_space: Box<dyn Widget>, pub floating: bool, pub force_elevated: bool, pub foreground_color: Color, pub icon_theme: IconThemeData, pub key: Key, pub leading: Box<dyn Widget>, pub leading_width: f32, pub pinned: bool, pub primary: bool, pub shadow_color: Color, pub shape: Box<dyn ShapeBorder>, pub snap: bool, pub stretch: bool, pub stretch_trigger_offset: f32, pub system_overlay_style: SystemUiOverlayStyle, pub text_theme: TextTheme, pub title: Box<dyn Widget>, pub title_spacing: f32, pub title_text_style: TextStyle, pub toolbar_height: f32, pub toolbar_text_style: TextStyle,
}

Fields

actions: Vec<Box<dyn Widget>>actions_icon_theme: IconThemeDataautomatically_imply_leading: boolbackground_color: Colorbackwards_compatibility: boolbottom: Box<dyn PreferredSizeWidget>brightness: Brightnesscenter_title: boolcollapsed_height: f32elevation: f32exclude_header_semantics: boolexpanded_height: f32flexible_space: Box<dyn Widget>floating: boolforce_elevated: boolforeground_color: Coloricon_theme: IconThemeDatakey: Keyleading: Box<dyn Widget>leading_width: f32pinned: boolprimary: boolshadow_color: Colorshape: Box<dyn ShapeBorder>snap: boolstretch: boolstretch_trigger_offset: f32system_overlay_style: SystemUiOverlayStyletext_theme: TextThemetitle: Box<dyn Widget>title_spacing: f32title_text_style: TextStyletoolbar_height: f32toolbar_text_style: TextStyle

Trait Implementations

Returns the “default value” for a type. Read more

Inflates this configuration to a concrete instance

The widdget key

The control x position, relative to its container

The control y position, relative to its container

The control width

The control height

The control minimum width

The control minimum height

The control maximum width

The control maximum height

The control parent, if any

The control depth. Usually set internally

Whether or not the control is visible at creation

Whether or not the control responds to mouse input

Whether or not the control responds to key input

Whether or not the control emits render signals from the canvas render call

Internal. Internal parent visibility for creating sub controls.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Typed getter

Inspect the context.

Inspect the context.

Inspect the context.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Convert into color

The alignment of pointer.

The type for initializers.

Initializes a with the given initializer. Read more

Dereferences the given pointer. Read more

Mutably dereferences the given pointer. Read more

Drops the object pointed to by the given pointer. Read more

Sets value as a parameter of self.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.