Content Tab Widget
Published in
2 min readJan 4, 2024
Content Tab is a customized widget used to display multiple UI using tabs. Content Tab Widget can easily navigate between multiple UI just by pressing the content header in the top of the widget.
How To Get Content Tab Widget
Content Tab Widget can be get from my github at masssster/content_tab (github.com).
Requirement
Content Tab Widget is developed using the following requirement:
- flutter_bloc package : flutter_bloc | Flutter Package (pub.dev)
- bloc package : bloc | Dart Package (pub.dev)
How To Use Content Tab Widget
- First get the Content Tab Widget at my git hub and then create a separate folder in your flutter project lib and place it there. Don’t forget to get the required dependencies.
- Then go to page where you want to use the widget and then you call whe widget.
- After That you can start add your tab using addTab function whic takes two parameter which is the tab title and the content of the tab.
- last don’t forget to place the content tab in any UI component child.
- Now your Project Should Be Able to Display Content Tab Widget
References
- flutter docs: https://docs.flutter.dev/