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: 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: TextStyleTrait 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.