返回介绍

Scrolling widgets

发布于 2019-12-09 21:31:31 字数 13999 浏览 975 评论 0 收藏 0

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.

    如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

    扫码二维码加入Web技术交流群

    发布评论

    需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。
    列表为空,暂无数据
      我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
      原文