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

Basic widgets

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

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.