logo
pub struct BottomNavigationBar {
Show 21 fields pub key: Key, pub on_tap: Option<ValueChanged<i32>>, pub current_index: i32, pub elevation: f32, pub bar_type: BottomNavigationBarType, pub fixed_color: Color, pub background_color: Color, pub icon_size: f32, pub selected_item_color: Color, pub unselected_item_color: Color, pub selected_icon_theme: IconThemeData, pub unselected_icon_theme: IconThemeData, pub selected_font_size: f32, pub unselected_font_size: f32, pub selected_label_style: TextStyle, pub unselected_label_style: TextStyle, pub show_selected_labels: bool, pub show_unselected_labels: bool, pub mouse_cursor: MouseCursor, pub enable_feedback: bool, pub landscape_layout: BottomNavigationBarLandscapeLayout,
}

Fields

key: Keyon_tap: Option<ValueChanged<i32>>current_index: i32elevation: f32bar_type: BottomNavigationBarTypefixed_color: Colorbackground_color: Coloricon_size: f32selected_item_color: Colorunselected_item_color: Colorselected_icon_theme: IconThemeDataunselected_icon_theme: IconThemeDataselected_font_size: f32unselected_font_size: f32selected_label_style: TextStyleunselected_label_style: TextStyleshow_selected_labels: boolshow_unselected_labels: boolmouse_cursor: MouseCursorenable_feedback: boollandscape_layout: BottomNavigationBarLandscapeLayout

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.