scroll

How to write by SpWML

(scroll)
+(single child block)

Summary

A block with a single child block.

If the size of the inner child block exceeds the size of the parent block, it will be scrollable.

It has a variable with parameters equivalent to Flutter SingleChildScrollViewclass .


Dart Class Reference

ScrollElement class


SpWML Parameters

  • The common parameters.

  • Parent parameters.

  • isPrimary (bool). Specifies whether this is the primary scroll view.If there are multiple scrolls, the second and subsequent views must be set to false.

  • axis (String). Specifies the direction of scrolling, either vertical or horizontal. If horizontal is specified and scrollBehavior is not set, scrollBehavior is automatically set to touchAndMouse.

  • scrollBehavior (String?). Setting of scroll permission. Default is null. Specify one of touch, touchAndMouse, touchAndMouseAndTrackpad, nonEraser, all.