logo
pub struct Scaffold {
Show 24 fields pub key: Key, pub app_bar: Box<dyn PreferredSizeWidget>, pub body: Box<dyn Widget>, pub floating_action_button: Box<dyn Widget>, pub floating_action_button_location: FloatingActionButtonLocation, pub floating_action_button_animator: FloatingActionButtonAnimator, pub persistent_footer_buttons: Vec<Box<dyn Widget>>, pub drawer: Box<dyn Widget>, pub on_drawer_changed: Option<Box<dyn DrawerCallback>>, pub end_drawer: Box<dyn Widget>, pub on_end_drawer_changed: Option<Box<dyn DrawerCallback>>, pub bottom_navigation_bar: Box<dyn Widget>, pub bottom_sheet: Box<dyn Widget>, pub background_color: Color, pub resize_to_avoid_bottom_inset: bool, pub primary: bool, pub drawer_drag_start_behavior: DragStartBehavior, pub extend_body: bool, pub extend_body_behind_app_bar: bool, pub drawer_scrim_color: Color, pub drawer_edge_drag_width: f32, pub drawer_enable_open_drag_gesture: bool, pub end_drawer_enable_open_drag_gesture: bool, pub restoration_id: String,
}

Fields

key: Keyapp_bar: Box<dyn PreferredSizeWidget>body: Box<dyn Widget>floating_action_button: Box<dyn Widget>floating_action_button_location: FloatingActionButtonLocationfloating_action_button_animator: FloatingActionButtonAnimatorpersistent_footer_buttons: Vec<Box<dyn Widget>>drawer: Box<dyn Widget>on_drawer_changed: Option<Box<dyn DrawerCallback>>end_drawer: Box<dyn Widget>on_end_drawer_changed: Option<Box<dyn DrawerCallback>>bottom_navigation_bar: Box<dyn Widget>bottom_sheet: Box<dyn Widget>background_color: Colorresize_to_avoid_bottom_inset: boolprimary: booldrawer_drag_start_behavior: DragStartBehaviorextend_body: boolextend_body_behind_app_bar: booldrawer_scrim_color: Colordrawer_edge_drag_width: f32drawer_enable_open_drag_gesture: boolend_drawer_enable_open_drag_gesture: boolrestoration_id: String

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.