:orphan: .. _scroll: ====================================== scroll ====================================== How to write by SpWML ======================== .. code-block:: none (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. Depending on the layout, views within the scrollable area may interfere with views outside of it. In that case, add **elevation: 0.0** or similar. This may resolve the issue because it will be internally wrapped in a Material widget. It has a variable with parameters equivalent to Flutter `SingleChildScrollViewclass `__ . ---- Dart Class Reference ====================== `ScrollElement class `__ ---- SpWML Parameters ==================== * :ref:`The common` parameters. * :ref:`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. * alignCenter (bool). If true, this element will be centered within its parent element. Default is false.