DropDownButton(id: String, text: String, icon: String? = null, style: ButtonStyle = ButtonStyle.PRIMARY, disabled: Boolean = false, : Boolean = false, forDropDown: Boolean = false, classes: Set<String> = setOf())
text
- the dropdown button text
icon
- the icon of the dropdown button
style
- the style of the dropdown button
disabled
- determines if the component is disabled on start
forNavbar
- determines if the component will be used in a navbar
forDropDown
- determines if the component will be used in a dropdown
classes
- a set of CSS class names
Constructor