Struct components::material::SliverAppBar
source · [−]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: IconThemeData
automatically_imply_leading: bool
background_color: Color
backwards_compatibility: bool
bottom: Box<dyn PreferredSizeWidget>
brightness: Brightness
center_title: bool
collapsed_height: f32
elevation: f32
exclude_header_semantics: bool
expanded_height: f32
flexible_space: Box<dyn Widget>
floating: bool
force_elevated: bool
foreground_color: Color
icon_theme: IconThemeData
key: Key
leading: Box<dyn Widget>
leading_width: f32
pinned: bool
primary: bool
shadow_color: Color
shape: Box<dyn ShapeBorder>
snap: bool
stretch: bool
stretch_trigger_offset: f32
system_overlay_style: SystemUiOverlayStyle
text_theme: TextTheme
title: Box<dyn Widget>
title_spacing: f32
title_text_style: TextStyle
toolbar_height: f32
toolbar_text_style: TextStyle
Trait Implementations
sourceimpl Default for SliverAppBar
impl Default for SliverAppBar
sourceimpl PreferredSizeWidget for SliverAppBar
impl PreferredSizeWidget for SliverAppBar
fn preferred_size(&self) -> Size
sourceimpl Widget for SliverAppBar
impl Widget for SliverAppBar
sourceimpl WidgetProperties for SliverAppBar
impl WidgetProperties for SliverAppBar
sourcefn mouse_input(&self) -> bool
fn mouse_input(&self) -> bool
Whether or not the control responds to mouse input
sourcefn renderable(&self) -> bool
fn renderable(&self) -> bool
Whether or not the control emits render signals from the canvas render call
sourcefn internal_visible(&self) -> bool
fn internal_visible(&self) -> bool
Internal. Internal parent visibility for creating sub controls.
Auto Trait Implementations
impl !RefUnwindSafe for SliverAppBar
impl !Send for SliverAppBar
impl !Sync for SliverAppBar
impl Unpin for SliverAppBar
impl !UnwindSafe for SliverAppBar
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<'a, T, C, M> Inspect<'a, C, &'a mut C, M> for T
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
fn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.