dropdownBtn¶

How to write by SpWML¶

(dropdownBtn, sid:ddBtn1)
+(menu)menu 1
+(menu)menu 2
+(menu)menu 3

Summary¶

A block that allows you to create a drop-down button.

It is necessary to set the SID.

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 IndexManager to SpWMLBuilder or SpWML widget.

Also, if no value is selected, the manager has no value.


Dart Class Reference¶

DropdownBtnElement class


SpWML Parameters¶

  • The common parameters.

  • 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. The color system .

  • splashRadius (double). Set the size of the reaction circle in px on when tapped.

  • underlineColor (String). Color setting of underline. The color system .

  • underlineHeight (double). Set underline size in px.

  • isEnabled (bool). Set to false if you want to disable this elements.

spwml_docs

Navigation

  • What is SpWML?
  • Try SpWML Editor!
  • Let AI generate the design
  • How to install SpWML
  • Working with SpWML from code
  • Classes and methods
  • Notice
  • Appendix

Related Topics

  • Documentation overview
©2024, MasahideMori. | Powered by Sphinx 8.0.2 & Alabaster 1.0.0 | Page source