Skip to main content

DropdownButtonBuilder

Type Alias DropdownButtonBuilder 

Source
pub type DropdownButtonBuilder = Rc<dyn Fn(&mut App, BuildContext) -> Vec<WidgetRef>>;
Expand description

A builder to customize dropdown buttons.

Used by DropdownButton::selected_item_builder.

The list of widgets returned by this builder must be exactly the same length as the DropdownButton::items list.

Aliased Typeยง

pub struct DropdownButtonBuilder { /* private fields */ }