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 { ...@@ -175,7 +175,7 @@ class DetailMatchesRegionsController extends GetxController {
}else if(isVisiableYt.value == true){ }else if(isVisiableYt.value == true){
return 320.h; return 320.h;
}else{ }else{
return 140.h; return 150.h;
} }
} }
} }
...@@ -495,7 +495,7 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController> ...@@ -495,7 +495,7 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
onTap: () { onTap: () {
Get.toNamed(Routes.detailTeams); 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( Expanded(
flex: 1, flex: 1,
...@@ -509,12 +509,14 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController> ...@@ -509,12 +509,14 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
onTap: () { onTap: () {
Get.toNamed(Routes.detailTeams); 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,), const SizedBox(height: 16,),
Row( controller.listPlayer2[0]['name']!.isNotEmpty ?
const SizedBox():
Row(
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Expanded( Expanded(
...@@ -570,7 +572,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController> ...@@ -570,7 +572,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
), ),
], ],
), ),
], ],
), ),
)): )):
...@@ -721,7 +722,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController> ...@@ -721,7 +722,6 @@ class DetailMatchesRegionsPage extends GetWidget<DetailMatchesRegionsController>
), ),
),); ),);
} }
} }
class MyDelegate extends SliverPersistentHeaderDelegate { 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