slider

How to write by SpWML

(slider)

Summary

A block that can place a slider without child blocks.

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

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

With this type, the manager always stores the value associated with the SID.


Dart Class Reference

SliderElement class


SpWML Parameters

  • The common parameters.

  • min (double). Slider minimum value. If no value is set in the manager class, this value will be used as the initial value of the slider.

  • max (double). Slider maximum value.

  • label (String?). Specifies a label on the slider. If not set, the current slider value is automatically assigned as the label by default.

  • activeColor (String). Specifies the color below the current value of the slider. The color system .

  • inactiveColor (String). Specifies the color of the portion above the current value of the slider. The color system .

  • divisions (int). Specifies the number of division points for the slider.

  • useAutoLabel (bool). If true, show the current value on the slider.

  • isIntValue (bool). If true, the value of the label displayed when useAutoLabel is enabled is cast to an integer before being displayed.