Commit f16c9d4e authored by Nguyễn Minh Nhật's avatar Nguyễn Minh Nhật

nmn update

parent 6b1d4fca
......@@ -175,7 +175,7 @@ class DetailMatchesRegionsController extends GetxController {
}else if(isVisiableYt.value == true){
return 320.h;
}else{
return 140.h;
return 150.h;
}
}
}
......@@ -495,7 +495,7 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
onTap: () {
Get.toNamed(Routes.detailTeams);
},
child: Text(controller.itemArgument.value.home!.name!,textAlign: TextAlign.center, style:TextStyle(color: Colors.white, fontSize: 14.sp, fontWeight: FontWeight.bold),),
child: Text(controller.itemArgument.value.home!.name!,textAlign: TextAlign.center,maxLines: 2, overflow: TextOverflow.ellipsis, style:TextStyle(color: Colors.white, fontSize: 14.sp, fontWeight: FontWeight.bold),),
),),
Expanded(
flex: 1,
......@@ -509,11 +509,13 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
onTap: () {
Get.toNamed(Routes.detailTeams);
},
child: Text(controller.itemArgument.value.away!.name!,textAlign: TextAlign.center, style:TextStyle(color: Colors.white, fontSize: 14.sp, fontWeight: FontWeight.bold),),
child: Text(controller.itemArgument.value.away!.name!,textAlign: TextAlign.center, maxLines: 2, overflow: TextOverflow.ellipsis, style:TextStyle(color: Colors.white, fontSize: 14.sp, fontWeight: FontWeight.bold),),
),),
],
)),
const SizedBox(height: 16,),
controller.listPlayer2[0]['name']!.isNotEmpty ?
const SizedBox():
Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
......@@ -570,7 +572,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
),
],
),
],
),
)):
......@@ -721,7 +722,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
),
),);
}
}
class MyDelegate extends SliverPersistentHeaderDelegate {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment