To create a tab bar in flutter we have to call its constructor and provide the required properties . There is one required property for the TabBar widget which is the tabs property. This property takes a list of widgets as value, usually a list of Tab widgets.