Browse Source

增加红娘等级,增加昵称最大宽度

ios
王子贤 4 months ago
parent
commit
1c841ea4da
1 changed files with 13 additions and 6 deletions
  1. 19
      lib/pages/mine/mine_page.dart

19
lib/pages/mine/mine_page.dart

@ -99,12 +99,19 @@ class _MinePageState extends State<MinePage> with AutomaticKeepAliveClientMixin{
children: [
Row(
children: [
Text(
"${controller.userData.value?.nickName ?? ""}",
style: TextStyle(
fontSize: 18.w,
color: const Color.fromRGBO(51, 51, 51, 1),
fontWeight: FontWeight.w700
ConstrainedBox(
constraints: BoxConstraints(
maxWidth: 120.w, //
),
child: Text(
"${controller.userData.value?.nickName ?? ""}",
maxLines: 1,
overflow: TextOverflow.ellipsis,
style: TextStyle(
fontSize: 18.w,
color: const Color.fromRGBO(51, 51, 51, 1),
fontWeight: FontWeight.w700
),
),
),
SizedBox(width: 8.w,),

Loading…
Cancel
Save