Material Components widgets

Visual, behavioral, and motion-rich widgets implementing the Material Design guidelines.

See more widgets in the widget catalog.

Appbar

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

BottomNavigationBar

Bottom navigation bars make it easy to explore and switch between top-level views in a single tap. The BottomNavigationBar widget implements this component.

Drawer

A Material Design panel that slides in horizontally from the edge of a Scaffold to show navigation links in an application.

MaterialApp

A convenience widget that wraps a number of widgets that are commonly required for applications implementing Material Design.

Scaffold

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

SliverAppBar

A material design app bar that integrates with a CustomScrollView.

TabBar

A Material Design widget that displays a horizontal row of tabs.

TabBarView

A page view that displays the widget which corresponds to the currently selected tab. Typically used in conjunction with a TabBar.

TabController

Coordinates tab selection between a TabBar and a TabBarView.

TabPageSelector

Displays a row of small circular indicators, one per tab. The selected tab's indicator is highlighted. Often used in conjunction with a TabBarView.

WidgetsApp

A convenience class that wraps a number of widgets that are commonly required for an application.

Buttons

DropdownButton

Shows the currently selected item and an arrow that opens a menu for selecting another item.

ElevatedButton

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

FloatingActionButton

A floating action button is a circular icon button that hovers over content to promote a primary action in the application. Floating action buttons are...

IconButton

An icon button is a picture printed on a Material widget that reacts to touches by filling with color (ink).

OutlinedButton

A Material Design outlined button, essentially a TextButton with an outlined border.

PopupMenuButton

Displays a menu when pressed and calls onSelected when the menu is dismissed because an item was selected.

TextButton

A Material Design text button. A simple flat button without a border outline.

Input and selections

Checkbox

Checkboxes allow the user to select multiple options from a set. The Checkbox widget implements this component.

Date & Time Pickers

Date pickers use a dialog window to select a single date on mobile. Time pickers use a dialog to select a single time (in the...

Radio

Radio buttons allow the user to select one option from a set. Use radio buttons for exclusive selection if you think that the user needs...

Slider

Sliders let users select from a range of values by moving the slider thumb.

Switch

On/off switches toggle the state of a single settings option. The Switch widget implements this component.

TextField

Touching a text field places the cursor and displays the keyboard. The TextField widget implements this component.

Dialogs, alerts, and panels

AlertDialog

Alerts are urgent interruptions requiring acknowledgement that inform the user about a situation. The AlertDialog widget implements this component.

BottomSheet

Bottom sheets slide up from the bottom of the screen to reveal more content. You can call showBottomSheet() to implement a persistent bottom sheet or...

ExpansionPanel

Expansion panels contain creation flows and allow lightweight editing of an element. The ExpansionPanel widget implements this component.

SimpleDialog

Simple dialogs can provide additional details or actions about a list item. For example they can display avatars icons clarifying subtext or orthogonal actions (such...

SnackBar

A lightweight message with an optional action which briefly displays at the bottom of the screen.

Information displays

Card

A Material Design card. A card has slightly rounded corners and a shadow.

Chip

A Material Design chip. Chips represent complex entities in small blocks, such as a contact.

CircularProgressIndicator

A material design circular progress indicator, which spins to indicate that the application is busy.

DataTable

Data tables display sets of raw data. They usually appear in desktop enterprise products. The DataTable widget implements this component.

GridView

A grid list consists of a repeated pattern of cells arrayed in a vertical and horizontal layout. The GridView widget implements this component.

Icon

A Material Design icon.

Image

A widget that displays an image.

LinearProgressIndicator

A material design linear progress indicator, also known as a progress bar.

Tooltip

Tooltips provide text labels that help explain the function of a button or other user interface action. Wrap the button in a Tooltip widget to...

Layout

Divider

A one logical pixel thick horizontal line, with padding on either side.

ListTile

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

Stepper

A Material Design stepper widget that displays progress through a sequence of steps.

See more widgets in the widget catalog.