tab样式修改

This commit is contained in:
machuanyu 2024-05-30 09:48:01 +08:00
parent c77436861a
commit 55e5a24091
2 changed files with 3 additions and 1 deletions

View File

@ -27,6 +27,8 @@ class _PersonalDetailTopBarState extends State<PersonalDetailTopBar> {
), ),
child: TabBar( child: TabBar(
controller: widget.controller, controller: widget.controller,
dividerHeight: 0,
tabAlignment: TabAlignment.start,
unselectedLabelStyle: TextStyle(fontSize: 12.sp, color: const Color.fromRGBO(102, 102, 102, 1)), unselectedLabelStyle: TextStyle(fontSize: 12.sp, color: const Color.fromRGBO(102, 102, 102, 1)),
labelStyle: TextStyle( labelStyle: TextStyle(
fontSize: 12.sp, fontSize: 12.sp,

View File

@ -43,7 +43,7 @@ dependencies:
# 日志插件 # 日志插件
logger: ^2.3.0 logger: ^2.3.0
# 屏幕尺寸计算插件 # 屏幕尺寸计算插件
flutter_screenutil: ^5.9.1 flutter_screenutil: 5.9.1
# http请求插件 # http请求插件
dio: ^5.4.2+1 dio: ^5.4.2+1
# 网络缓存图片 # 网络缓存图片