Basic widgets

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

更多 widget 请查看 核心 widget 目录

Appbar

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

Column

Layout a list of child widgets in the vertical direction.

Container

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

ElevatedButton

A Material Design elevated button. A filled button whose material elevates when pressed.

FlutterLogo

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

Icon

A Material Design icon.

Image

A widget that displays an image.

Placeholder

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

Row

Layout a list of child widgets in the horizontal direction.

Scaffold

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

Abc
Text

A run of text with a single style.

更多 widget 请查看 核心 widget 目录