pub fn Dropdown(_: DropdownProps) -> ElementExpand description
One choice out of a list. Each child is one option, and the Renderer reports the position the user landed on.
ยงProps
For details, see the props struct definition.
weight:Option<f32>width:Option<f32>height:Option<f32>padding:Option<f32>padding_role:Option<SpaceRole>background:Option<Paint>shape_role:Option<ShapeRole>corner_radius:Option<f32>border_width:Option<f32>border_color:Option<Paint>elevation:Option<f32>fill_max_width:boolfill_max_height:boolselected_index:usizeenabled:boolon_change:EventHandler<usize>children:Element