Use themes to share colors and font styles

Create a download button

Work with tabs

Cookbook

Design

Work with tabs

1. Create a TabController

2. Create the tabs

3. Create content for each tab

Interactive example

Working with tabs is a common pattern in apps that follow the
Material Design guidelines.
Flutter includes a convenient way to create tab layouts as part of
the material library.

Note:
  To create tabs in a Cupertino app, see the
  Building a Cupertino app with Flutter codelab.

This recipe creates a tabbed example using the following steps;

Create a TabController.

Create the tabs.

Create content for each tab.

1. Create a TabController