diff --git a/tdesign-component/example/assets/code/bottomTabBar._buildCustomTopStyle.txt b/tdesign-component/example/assets/code/bottomTabBar._buildCustomTopStyle.txt index f7d374530..1f696db28 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._buildCustomTopStyle.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._buildCustomTopStyle.txt @@ -8,7 +8,7 @@ useVerticalDivider: false, navigationTabs: [ TDBottomTabBarTabConfig( - selectedIcon: _selectedIcon, + selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, badgeConfig: BadgeConfig( showBage: true, @@ -22,7 +22,7 @@ }, ), TDBottomTabBarTabConfig( - selectedIcon: _selectedIcon, + selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, tabText: '标签', onTap: () { @@ -30,7 +30,7 @@ }, ), TDBottomTabBarTabConfig( - selectedIcon: _selectedIcon, + selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, tabText: '标签', onTap: () { diff --git a/tdesign-component/example/assets/code/bottomTabBar._customBgColor.txt b/tdesign-component/example/assets/code/bottomTabBar._customBgColor.txt index 4f76c205b..9f82d1196 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._customBgColor.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._customBgColor.txt @@ -5,35 +5,40 @@ selectedBgColor: TDTheme.of(context).errorColor3, unselectedBgColor: TDTheme.of(context).grayColor3, navigationTabs: [ - TDBottomTabBarTabConfig( tabText: '标签', + TDBottomTabBarTabConfig( + tabText: '标签', selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, onTap: () { onTapTab(context, '标签1'); }, ), - TDBottomTabBarTabConfig( tabText: '标签', + TDBottomTabBarTabConfig( + tabText: '标签', selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, onTap: () { onTapTab(context, '标签2'); }, ), - TDBottomTabBarTabConfig( tabText: '标签', + TDBottomTabBarTabConfig( + tabText: '标签', selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, onTap: () { onTapTab(context, '标签2'); }, ), - TDBottomTabBarTabConfig( tabText: '标签', + TDBottomTabBarTabConfig( + tabText: '标签', selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, onTap: () { onTapTab(context, '标签2'); }, ), - TDBottomTabBarTabConfig( tabText: '标签', + TDBottomTabBarTabConfig( + tabText: '标签', selectedIcon: _selectedIcon, unselectedIcon: _unSelectedIcon, onTap: () { diff --git a/tdesign-component/example/assets/code/bottomTabBar._customBgTypeTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._customBgTypeTabBar.txt index 0adff568b..944dbddca 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._customBgTypeTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._customBgTypeTabBar.txt @@ -1,5 +1,5 @@ - Widget _customBgTypeTabBar(BuildContext context){ + Widget _customBgTypeTabBar(BuildContext context) { return TDBottomTabBar(TDBottomTabBarBasicType.text, backgroundColor: TDTheme.of(context).successColor6, selectedBgColor: TDTheme.of(context).errorColor1, @@ -14,7 +14,7 @@ ), TDBottomTabBarTabConfig( tabText: '标签', - unselectTabTextStyle:TextStyle(color: TDTheme.of(context).fontGyColor1), + unselectTabTextStyle: TextStyle(color: TDTheme.of(context).fontGyColor1), onTap: () { onTapTab(context, '标签1'); }, diff --git a/tdesign-component/example/assets/code/bottomTabBar._expansionPannelTypeTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._expansionPannelTypeTabBar.txt index 1b490fc14..697d7266d 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._expansionPannelTypeTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._expansionPannelTypeTabBar.txt @@ -39,9 +39,7 @@ //height: 30, child: Text( e, - style: TextStyle( - color: TDTheme.of(context).fontGyColor1, - fontSize: 16), + style: TextStyle(color: TDTheme.of(context).fontGyColor1, fontSize: 16), ), ), )) diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar.txt index f718a3485..f8e46893b 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar.txt @@ -1,23 +1,21 @@ Widget _iconTextTypeTabBar(BuildContext context) { - - return TDBottomTabBar(TDBottomTabBarBasicType.iconText, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar3tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar3tabs.txt index e6e568227..f7a4cd721 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar3tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar3tabs.txt @@ -1,28 +1,29 @@ Widget _iconTextTypeTabBar3tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.iconText, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar4tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar4tabs.txt index e7caac9e7..426f367f2 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar4tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar4tabs.txt @@ -1,35 +1,37 @@ Widget _iconTextTypeTabBar4tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.iconText, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig(tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar5tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar5tabs.txt index b625e8d28..0451dbdbe 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar5tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTextTypeTabBar5tabs.txt @@ -1,42 +1,45 @@ Widget _iconTextTypeTabBar5tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.iconText, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( tabText: '标签', - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar.txt index da20a9483..22b5a1437 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar.txt @@ -1,20 +1,17 @@ Widget _iconTypeTabBar(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.icon, - useVerticalDivider: true, - navigationTabs: [ - TDBottomTabBarTabConfig( - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }) - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }) + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar3tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar3tabs.txt index faff2e1bf..f443bb240 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar3tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar3tabs.txt @@ -1,28 +1,23 @@ Widget _iconTypeTabBar3tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.icon, - useVerticalDivider: true, - navigationTabs: [ - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar4tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar4tabs.txt index 77d62fe17..d712c7c7d 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar4tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar4tabs.txt @@ -1,34 +1,29 @@ Widget _iconTypeTabBar4tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.icon, - useVerticalDivider: true, - navigationTabs: [ - TDBottomTabBarTabConfig( - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar5tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar5tabs.txt index 173b456f8..eb436a9c3 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar5tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._iconTypeTabBar5tabs.txt @@ -1,42 +1,35 @@ Widget _iconTypeTabBar5tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.icon, - useVerticalDivider: true, - navigationTabs: [ - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签1'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - onTap: () { - onTapTab(context, '标签2'); - }), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._setCurrentIndexToTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._setCurrentIndexToTabBar.txt new file mode 100644 index 000000000..67455a7fb --- /dev/null +++ b/tdesign-component/example/assets/code/bottomTabBar._setCurrentIndexToTabBar.txt @@ -0,0 +1,47 @@ + + Widget _setCurrentIndexToTabBar(BuildContext context) { + return SizedBox( + height: 200, + child: Column( + mainAxisSize: MainAxisSize.min, + children: [ + Expanded( + child: PageView( + children: const [ + Center( + child: TDText('页面1,手指左滑查看页面2'), + ), + Center( + child: TDText('页面2,手指右滑查看页面1'), + ), + ], + onPageChanged: (index) { + setState(() { + // 修改选择index + currentIndex = index; + }); + }, + )), + TDBottomTabBar( + // 设置选择index + currentIndex: currentIndex, + TDBottomTabBarBasicType.icon, + useVerticalDivider: true, + navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }) + ]) + ], + ), + ); + } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar.txt index 56a54eb6d..7124c27ec 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar.txt @@ -1,19 +1,17 @@ Widget _textTypeTabBar(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.text, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar3tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar3tabs.txt index 187233b37..03b218fd4 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar3tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar3tabs.txt @@ -1,25 +1,23 @@ Widget _textTypeTabBar3tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.text, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar4tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar4tabs.txt index 42e877bf6..9ee2db433 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar4tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar4tabs.txt @@ -1,32 +1,29 @@ Widget _textTypeTabBar4tabs(BuildContext context) { - return TDBottomTabBar( - TDBottomTabBarBasicType.text, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar5tabs.txt b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar5tabs.txt index 9edba6be8..14232bfc9 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar5tabs.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._textTypeTabBar5tabs.txt @@ -1,37 +1,35 @@ Widget _textTypeTabBar5tabs(BuildContext context) { - return TDBottomTabBar(TDBottomTabBarBasicType.text, - useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - ]); + return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [ + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + TDBottomTabBarTabConfig( + tabText: '标签', + onTap: () { + onTapTab(context, '标签1'); + }, + ), + ]); } \ No newline at end of file diff --git a/tdesign-component/example/assets/code/bottomTabBar._weakSelectIconTabBar.txt b/tdesign-component/example/assets/code/bottomTabBar._weakSelectIconTabBar.txt index 324683c4c..a4ce509da 100644 --- a/tdesign-component/example/assets/code/bottomTabBar._weakSelectIconTabBar.txt +++ b/tdesign-component/example/assets/code/bottomTabBar._weakSelectIconTabBar.txt @@ -6,9 +6,8 @@ useVerticalDivider: false, navigationTabs: [ TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, badgeConfig: BadgeConfig( showBage: true, tdBadge: const TDBadge(TDBadgeType.redPoint), @@ -21,18 +20,16 @@ }, ), TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, tabText: '标签', onTap: () { onTapTab(context, '标签2'); }, ), TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, tabText: '标签', onTap: () { onTapTab(context, '标签3'); diff --git a/tdesign-component/example/assets/code/dialog._buildVerticalButtonDouble.txt b/tdesign-component/example/assets/code/dialog._buildVerticalButtonDouble.txt index 36bd90922..b36a81a01 100644 --- a/tdesign-component/example/assets/code/dialog._buildVerticalButtonDouble.txt +++ b/tdesign-component/example/assets/code/dialog._buildVerticalButtonDouble.txt @@ -16,12 +16,16 @@ buttons: [ TDDialogButtonOptions( title: '主要按钮', - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), ]); }, diff --git a/tdesign-component/example/assets/code/dialog._buildVerticalButtonTriple.txt b/tdesign-component/example/assets/code/dialog._buildVerticalButtonTriple.txt index 5f2ac985c..7d37fe193 100644 --- a/tdesign-component/example/assets/code/dialog._buildVerticalButtonTriple.txt +++ b/tdesign-component/example/assets/code/dialog._buildVerticalButtonTriple.txt @@ -16,17 +16,23 @@ buttons: [ TDDialogButtonOptions( title: '主要按钮', - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), ]); }, diff --git a/tdesign-component/example/assets/code/dialog._customConfirmVertical.txt b/tdesign-component/example/assets/code/dialog._customConfirmVertical.txt index 1cf67b8f6..fdda4c04b 100644 --- a/tdesign-component/example/assets/code/dialog._customConfirmVertical.txt +++ b/tdesign-component/example/assets/code/dialog._customConfirmVertical.txt @@ -23,12 +23,16 @@ buttons: [ TDDialogButtonOptions( title: '主要按钮', - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), ]); }, diff --git a/tdesign-site/src/dialog/README.md b/tdesign-site/src/dialog/README.md index c9ef33362..8bc9bf61b 100644 --- a/tdesign-site/src/dialog/README.md +++ b/tdesign-site/src/dialog/README.md @@ -598,12 +598,16 @@ import 'package:tdesign_flutter/tdesign_flutter.dart'; buttons: [ TDDialogButtonOptions( title: '主要按钮', - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), ]); }, @@ -637,17 +641,23 @@ import 'package:tdesign_flutter/tdesign_flutter.dart'; buttons: [ TDDialogButtonOptions( title: '主要按钮', - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.primary), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), TDDialogButtonOptions( title: '次要按钮', titleColor: TDTheme.of(context).brandColor7, - action: () {}, + action: () { + Navigator.pop(context); + }, theme: TDButtonTheme.light), ]); }, diff --git a/tdesign-site/src/tab-bar/README.md b/tdesign-site/src/tab-bar/README.md index b74a2439f..70bbaa560 100644 --- a/tdesign-site/src/tab-bar/README.md +++ b/tdesign-site/src/tab-bar/README.md @@ -25,22 +25,20 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -53,28 +51,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -85,35 +81,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -124,40 +117,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -168,31 +159,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -203,38 +195,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -245,45 +239,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -294,31 +291,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -329,37 +321,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -370,45 +357,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -421,28 +401,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -453,35 +431,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -492,40 +467,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -536,31 +509,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -571,38 +545,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -613,45 +589,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -662,31 +641,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -697,37 +671,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -738,79 +707,70 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
-  }
- - - - - + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + ]); + } + + + + +
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -821,35 +781,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -860,40 +817,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -904,31 +859,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -939,38 +895,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -981,45 +939,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1030,31 +991,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1065,37 +1021,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1106,45 +1057,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1157,26 +1101,24 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar(BuildContext context) {
-
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1189,28 +1131,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1221,35 +1161,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1260,40 +1197,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1304,31 +1239,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1339,38 +1275,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1381,45 +1319,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1430,31 +1371,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1465,86 +1401,74 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
-  }
- - - - + return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [ + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签1'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + TDBottomTabBarTabConfig( + selectedIcon: _selectedIcon, + unselectedIcon: _unSelectedIcon, + onTap: () { + onTapTab(context, '标签2'); + }), + ]); + } + + + +
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1557,28 +1481,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1589,35 +1511,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1628,40 +1547,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1672,31 +1589,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1707,38 +1625,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1749,45 +1669,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -1798,31 +1721,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1833,37 +1751,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1874,45 +1787,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -1925,28 +1831,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1957,35 +1861,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -1996,40 +1897,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2040,31 +1939,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2075,38 +1975,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2117,45 +2019,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2166,31 +2071,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2201,37 +2101,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2242,45 +2137,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2293,23 +2181,20 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-              selectedIcon: _selectedIcon,
-              unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              })
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          })
+    ]);
   }
@@ -2322,28 +2207,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2354,35 +2237,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2393,40 +2273,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2437,31 +2315,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2472,38 +2351,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2514,45 +2395,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2563,31 +2447,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2598,37 +2477,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2639,45 +2513,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2690,28 +2557,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2722,35 +2587,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2761,40 +2623,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -2805,31 +2665,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2840,38 +2701,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2882,45 +2745,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -2931,31 +2797,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -2966,37 +2827,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -3007,45 +2863,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -3058,28 +2907,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -3090,35 +2937,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(
-        TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -3129,40 +2973,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _textTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.text,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(
-            tabText: '标签',
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.text, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+    ]);
   }
@@ -3173,31 +3015,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -3208,38 +3051,40 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig(tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -3250,45 +3095,48 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTextTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.iconText,
-        useVerticalDivider: false,
-        navigationTabs: [
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签1');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-          TDBottomTabBarTabConfig( tabText: '标签',
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-            onTap: () {
-              onTapTab(context, '标签2');
-            },
-          ),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.iconText, useVerticalDivider: false, navigationTabs: [
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签1');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+      TDBottomTabBarTabConfig(
+        tabText: '标签',
+        selectedIcon: _selectedIcon,
+        unselectedIcon: _unSelectedIcon,
+        onTap: () {
+          onTapTab(context, '标签2');
+        },
+      ),
+    ]);
   }
@@ -3299,31 +3147,26 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar3tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -3334,37 +3177,32 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar4tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -3375,45 +3213,38 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
   Widget _iconTypeTabBar5tabs(BuildContext context) {
-    return TDBottomTabBar(TDBottomTabBarBasicType.icon,
-        useVerticalDivider: true,
-        navigationTabs: [
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签1');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-          TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-              onTap: () {
-                onTapTab(context, '标签2');
-              }),
-        ]);
+    return TDBottomTabBar(TDBottomTabBarBasicType.icon, useVerticalDivider: true, navigationTabs: [
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签1');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+      TDBottomTabBarTabConfig(
+          selectedIcon: _selectedIcon,
+          unselectedIcon: _unSelectedIcon,
+          onTap: () {
+            onTapTab(context, '标签2');
+          }),
+    ]);
   }
@@ -3464,9 +3295,7 @@ import 'package:tdesign_flutter/tdesign_flutter.dart'; //height: 30, child: Text( e, - style: TextStyle( - color: TDTheme.of(context).fontGyColor1, - fontSize: 16), + style: TextStyle(color: TDTheme.of(context).fontGyColor1, fontSize: 16), ), ), )) @@ -3525,47 +3354,6 @@ import 'package:tdesign_flutter/tdesign_flutter.dart'; - - - -
-  Widget _weakSelectTextTabBar(BuildContext context) {
-    return TDBottomTabBar(
-      TDBottomTabBarBasicType.text,
-      componentType: TDBottomTabBarComponentType.normal,
-      useVerticalDivider: true,
-      navigationTabs: [
-        TDBottomTabBarTabConfig(
-          badgeConfig: BadgeConfig(
-            showBage: true,
-            tdBadge: const TDBadge(TDBadgeType.redPoint),
-            badgeTopOffset: -2,
-            badgeRightOffset: -10,
-          ),
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签1');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签2');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签3');
-          },
-        ),
-      ],
-    );
-  }
- -
- - @@ -3577,56 +3365,6 @@ import 'package:tdesign_flutter/tdesign_flutter.dart'; TDBottomTabBarBasicType.icon, componentType: TDBottomTabBarComponentType.normal, useVerticalDivider: false, - navigationTabs: [ - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - badgeConfig: BadgeConfig( - showBage: true, - tdBadge: const TDBadge(TDBadgeType.redPoint), - badgeTopOffset: -2, - badgeRightOffset: -10, - ), - tabText: '标签', - onTap: () { - onTapTab(context, '标签1'); - }, - ), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - tabText: '标签', - onTap: () { - onTapTab(context, '标签2'); - }, - ), - TDBottomTabBarTabConfig( - - selectedIcon: _selectedIcon, - unselectedIcon: _unSelectedIcon, - tabText: '标签', - onTap: () { - onTapTab(context, '标签3'); - }, - ), - ], - ); - } - - - - - - - -
-  Widget _weakSelectIconTextTabBar(BuildContext context) {
-    return TDBottomTabBar(
-      TDBottomTabBarBasicType.iconText,
-      componentType: TDBottomTabBarComponentType.normal,
-      useVerticalDivider: false,
       navigationTabs: [
         TDBottomTabBarTabConfig(
           selectedIcon: _selectedIcon,
@@ -3666,56 +3404,6 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
                 
 
           
-
-
-  
-  Widget _weakSelectIconTabBar(BuildContext context) {
-    return TDBottomTabBar(
-      TDBottomTabBarBasicType.icon,
-      componentType: TDBottomTabBarComponentType.normal,
-      useVerticalDivider: false,
-      navigationTabs: [
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          badgeConfig: BadgeConfig(
-            showBage: true,
-            tdBadge: const TDBadge(TDBadgeType.redPoint),
-            badgeTopOffset: -2,
-            badgeRightOffset: -10,
-          ),
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签1');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签2');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签3');
-          },
-        ),
-      ],
-    );
-  }
- -
- - -
@@ -3773,56 +3461,6 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
       TDBottomTabBarBasicType.icon,
       componentType: TDBottomTabBarComponentType.normal,
       useVerticalDivider: false,
-      navigationTabs: [
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          badgeConfig: BadgeConfig(
-            showBage: true,
-            tdBadge: const TDBadge(TDBadgeType.redPoint),
-            badgeTopOffset: -2,
-            badgeRightOffset: -10,
-          ),
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签1');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签2');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签3');
-          },
-        ),
-      ],
-    );
-  }
- -
- - - - - -
-  Widget _weakSelectIconTextTabBar(BuildContext context) {
-    return TDBottomTabBar(
-      TDBottomTabBarBasicType.iconText,
-      componentType: TDBottomTabBarComponentType.normal,
-      useVerticalDivider: false,
       navigationTabs: [
         TDBottomTabBarTabConfig(
           selectedIcon: _selectedIcon,
@@ -3862,56 +3500,6 @@ import 'package:tdesign_flutter/tdesign_flutter.dart';
                 
 
           
-
-
-  
-  Widget _weakSelectIconTabBar(BuildContext context) {
-    return TDBottomTabBar(
-      TDBottomTabBarBasicType.icon,
-      componentType: TDBottomTabBarComponentType.normal,
-      useVerticalDivider: false,
-      navigationTabs: [
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          badgeConfig: BadgeConfig(
-            showBage: true,
-            tdBadge: const TDBadge(TDBadgeType.redPoint),
-            badgeTopOffset: -2,
-            badgeRightOffset: -10,
-          ),
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签1');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签2');
-          },
-        ),
-        TDBottomTabBarTabConfig(
-
-            selectedIcon: _selectedIcon,
-            unselectedIcon: _unSelectedIcon,
-          tabText: '标签',
-          onTap: () {
-            onTapTab(context, '标签3');
-          },
-        ),
-      ],
-    );
-  }
- -
- - -