赛派号

国产笔记本排名市场份额 Material component widgets

Material component widgets

Flutter provides a variety of visual, behioral, and motion-rich widgets that implement the Material 3 design specification. Material 3 is the default design language of Flutter, enabling you to design and build beautiful, usable apps that can adapt to any platform.

The transition to Material 3 as the default was completed in Flutter 3.16.

To learn more about this transition, how to complete it for your own widgets, or how to temporarily opt-out, check out the Migrate to Material 3 migration guide.

To catch these and other widgets in action, check out the Material 3 demo web app.

Actions Common buttons

Clickable blocks that start an action, such as sending an email, sharing a document, or liking a comment.

FloatingActionButton

Clickable block containing an icon that keeps a key action always in reach.

Extended FloatingActionButton

Clickable block that triggers an action. These wider blocks can fit a text label and provide a larger target area.

IconButton

Clickable icons to prompt app users to take supplementary actions.

SegmentedButton

Single or multiple selected clickable blocks to help people select options, switch views, or sort elements.

Communication Badge

Icon-like block that conveys dynamic content such as counts or status. It can include labels or numbers.

LinearProgressIndicator

Vertical line that changes color as an ongoing process, such as loading an app or submitting a form, completes.

SnackBar

Brief messages about app processes that display at the bottom of the screen.

Containment AlertDialog

Hovering containers that prompt app users to provide more data or make a decision.

Bottom sheet

Containers that anchor supplementary content to the bottom of the screen.

Card

Container for short, related pieces of content displayed in a box with rounded corners and a drop shadow.

Divider

Thin line that groups content in lists and containers.

ListTile

A single fixed-height row that typically contains some text as well as a leading or trailing icon.

Nigation AppBar

Container that displays content and actions at the top of a screen.

Bottom app bar

Container that displays nigation and key actions at the bottom of a screen.

NigationBar

Persistent container that enables switching between primary destinations in an app.

NigationDrawer

Container that slides from the leading edge of the app to nigate to other sections in an app.

Nigation rail

Persistent container on the leading edge of tablet and desktop screens to nigate to parts of an app.

TabBar

Layered containers that organize content across different screens, data sets, and other interactions.

Selection Checkbox

Form control that app users can set or clear to select one or more options from a set.

Chip

Small blocks that simplify entering information, making selections, filtering content, or triggering actions.

DatePicker

Calendar interface used to select a date or a range of dates.

Menu

Container that displays a list of choices on a temporary surface.

Radio

Form control that app users can set or clear to select only one option from a set.

Slider

Form control that enables selecting a range of values.

Switch

Toggle control that changes the state of a single item to on or off.

TimePicker

Clock interface used to select and set a specific time.

Text inputs TextField

Box into which app users can enter text. They appear in forms and dialogs.

Find more widgets in the Material 2 widget catalog and other categories of the widget catalog.

Was this page's content helpful?

版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至lsinopec@gmail.com举报,一经查实,本站将立刻删除。

上一篇 没有了

下一篇没有了