Struct components::material::AlertDialog
source · [−]pub struct AlertDialog {Show 19 fields
pub key: Key,
pub title: Box<dyn Widget>,
pub title_padding: Box<dyn EdgeInsetsGeometry>,
pub title_text_style: TextStyle,
pub content: Box<dyn Widget>,
pub content_padding: Box<dyn EdgeInsetsGeometry>,
pub content_text_style: TextStyle,
pub actions: Vec<Box<dyn Widget>>,
pub actions_padding: Box<dyn EdgeInsetsGeometry>,
pub actions_alignment: MainAxisAlignment,
pub actions_overflow_direction: VerticalDirection,
pub actions_overflow_button_spacing: f32,
pub button_padding: Box<dyn EdgeInsetsGeometry>,
pub background_color: Color,
pub elevation: f32,
pub semantic_label: String,
pub clip_behavior: Clip,
pub shape: Box<dyn ShapeBorder>,
pub scrollable: bool,
}
Fields
key: Key
title: Box<dyn Widget>
title_padding: Box<dyn EdgeInsetsGeometry>
title_text_style: TextStyle
content: Box<dyn Widget>
content_padding: Box<dyn EdgeInsetsGeometry>
content_text_style: TextStyle
actions: Vec<Box<dyn Widget>>
actions_padding: Box<dyn EdgeInsetsGeometry>
actions_alignment: MainAxisAlignment
actions_overflow_direction: VerticalDirection
background_color: Color
elevation: f32
semantic_label: String
clip_behavior: Clip
shape: Box<dyn ShapeBorder>
scrollable: bool
Trait Implementations
sourceimpl Default for AlertDialog
impl Default for AlertDialog
sourceimpl Widget for AlertDialog
impl Widget for AlertDialog
sourceimpl WidgetProperties for AlertDialog
impl WidgetProperties for AlertDialog
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 AlertDialog
impl !Send for AlertDialog
impl !Sync for AlertDialog
impl Unpin for AlertDialog
impl !UnwindSafe for AlertDialog
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
.