返回介绍

Basic widgets

发布于 2019-12-09 21:31:26 字数 12941 浏览 1062 评论 0 收藏 0

Widgets you absolutely need to know before building your first Flutter app.

    See more widgets in the widget catalog.

    Container

    A convenience widget that combines common painting, positioning, and sizing widgets.

    Documentation
    Row

    Layout a list of child widgets in the horizontal direction.

    Documentation
    Column

    Layout a list of child widgets in the vertical direction.

    Documentation
    Image

    A widget that displays an image.

    Documentation Abc
    Text

    A run of text with a single style.

    Documentation
    Icon

    A Material Design icon.

    Documentation
    RaisedButton

    A Material Design raised button. A raised button consists of a rectangular piece of material that hovers over the interface.

    Documentation
    Scaffold

    Implements the basic Material Design visual layout structure. This class provides APIs for showing drawers, snack bars, and bottom sheets.

    Documentation
    Appbar

    A Material Design app bar. An app bar consists of a toolbar and potentially other widgets, such as a TabBar and a FlexibleSpaceBar.

    Documentation
    FlutterLogo

    The Flutter logo, in widget form. This widget respects the IconTheme.

    Documentation
    Placeholder

    A widget that draws a box that represents where other widgets will one day be added.

    Documentation

    See more widgets in the widget catalog.

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

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

    发布评论

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