当前位置: 首页 > 文档资料 > Flutter 英文文档 >

Scrolling widgets

优质
小牛编辑
132浏览
2023-12-01

Scroll multiple widgets as children of the parent.

    See more widgets in the widget catalog.

    GridView

    A grid list consists of a repeated pattern of cells arrayed in a vertical and horizontal layout. The GridView widget implements this component.

    Documentation
    ListView

    A scrollable, linear list of widgets. ListView is the most commonly used scrolling widget. It displays its children one after another in the scroll direction. In the cross axis, the children are required to fill the ListView.

    Documentation
    NestedScrollView

    A scrolling view inside of which can be nested other scrolling views, with their scroll positions being intrinsically linked.

    Documentation
    SingleChildScrollView

    A box in which a single widget can be scrolled. This widget is useful when you have a single box that will normally be entirely visible, for example a clock face in a time picker, but you need to make sure it can be scrolled if the container gets too small in one axis (the scroll direction).

    Documentation
    Scrollable

    Scrollable implements the interaction model for a scrollable widget, including gesture recognition, but does not have an opinion about how the viewport, which actually displays the children, is constructed.

    Documentation
    Scrollbar

    A Material Design scrollbar. A scrollbar indicates which portion of a Scrollable widget is actually visible.

    Documentation
    CustomScrollView

    A ScrollView that creates custom scroll effects using slivers.

    Documentation
    NotificationListener

    A widget that listens for Notifications bubbling up the tree.

    Documentation
    ScrollConfiguration

    Controls how Scrollable widgets behave in a subtree.

    Documentation
    RefreshIndicator

    A Material Design pull-to-refresh wrapper for scrollables.

    Documentation
    PageView

    A scrollable list that works page by page.

    Documentation

    See more widgets in the widget catalog.