segmentedBtn

How to write by SpWML

(segmentedBtn, sid:segmentedBtn1)
+(menu)button1
+(menu)button2
+(menu)button3

Summary

A block that allows you to create buttons separated by fields.

It is necessary to set the SID.

It has a variable with parameters equivalent to Flutter SegmentedButton class .

To use this type, it is necessary to set MultiIndexManager to SpWMLBuilder or SpWML widget.

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


Dart Class Reference

SegmentedBtnElement class


SpWML Parameters

  • The common parameters.

  • Parent parameters.

  • isMultiSelection (bool). If true, multiple selections are allowed. Default is false.

  • allowEmpty (bool). If true, unselected states are allowed. Default is true.

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