基础 Widgets

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

See more widgets in the Flutter 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 , Samples

  • 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 , Samples

  • 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 Flutter widget catalog.