|
|
|
@ -76,18 +76,31 @@ class MatchSpreadPage extends StatelessWidget { |
|
|
|
Column( |
|
|
|
crossAxisAlignment: CrossAxisAlignment.start, |
|
|
|
children: [ |
|
|
|
ConstrainedBox( |
|
|
|
constraints: BoxConstraints( maxWidth: 120.w), |
|
|
|
child: Text( |
|
|
|
"${controller.userData.value?.nickName ?? ""}", |
|
|
|
maxLines: 1, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 24.w, |
|
|
|
color: Colors.white, |
|
|
|
fontWeight: FontWeight.w700 |
|
|
|
Row( |
|
|
|
children: [ |
|
|
|
ConstrainedBox( |
|
|
|
constraints: BoxConstraints( maxWidth: 120.w), |
|
|
|
child: Text( |
|
|
|
controller.userData.value?.nickName ?? "", |
|
|
|
maxLines: 1, |
|
|
|
overflow: TextOverflow.ellipsis, |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 22.w, |
|
|
|
color: Colors.white, |
|
|
|
fontWeight: FontWeight.w700 |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
), |
|
|
|
if(controller.userData.value!.matchmakerFlag!)SizedBox(width: 4.w,), |
|
|
|
if(controller.userData.value!.matchmakerFlag!)Text( |
|
|
|
"[${controller.getNameByType(controller.userData.value!.matchmakerType!)}]", |
|
|
|
style: TextStyle( |
|
|
|
fontSize: 16.w, |
|
|
|
color: Colors.white, |
|
|
|
fontWeight: FontWeight.w500 |
|
|
|
), |
|
|
|
), |
|
|
|
], |
|
|
|
), |
|
|
|
Text( |
|
|
|
"ID:${controller.userId.value ?? ""}", |
|
|
|
@ -201,7 +214,7 @@ class MatchSpreadPage extends StatelessWidget { |
|
|
|
], |
|
|
|
) |
|
|
|
), |
|
|
|
bottomNavigationBar: controller.roseList.isNotEmpty ? SafeArea( |
|
|
|
bottomNavigationBar: (controller.roseList.isNotEmpty && controller.enableIndex.value < controller.roseList.length) ? SafeArea( |
|
|
|
child: Container( |
|
|
|
height: 60, |
|
|
|
padding: EdgeInsets.symmetric(vertical: 5.w, horizontal: 20.w), |
|
|
|
|