:orphan: .. _dropdownBtn2: ====================================== dropdownBtn2 ====================================== How to write by SpWML ======================== .. code-block:: none (dropdownBtn2, sid:ddBtn1) +(menu, tag:child1)menu 1 +(menu, tag:child2)menu 2 +(menu, tag:child3)menu 3 ---- Summary =============== A block that allows you to create a drop-down button. It is necessary to set the SID. This is a flavor of dropdownBtn that allows state management via a String. It requires tags for all children, but in some cases it can be more convenient than the plain version because the state can be managed via tags. It has not only `DropdownButton class `__ variables that has variables that have been further adjusted to improve usability. To use this type, it is necessary to set `TagSelectionManager `__ to SpWMLBuilder or SpWML widget. ---- Dart Class Reference ====================== `DropdownBtn2Element class `__ ---- SpWML Parameters ==================== * :ref:`The common` parameters. * :ref:`Parent` parameters. * hint (String). Sets the hint text when unselected. * iconNum (String). Set the icon type with `codePoint `__ . * iconSize (double). Set size of icon in px. * iconColor (String). Color setting. :ref:`The color system` . * splashRadius (double). Set the size of the reaction circle in px on when tapped. * underlineColor (String). Color setting of underline. :ref:`The color system` . * underlineHeight (double). Set underline size in px. * isEnabled (bool). Set to false if you want to disable this elements.