|
|
@@ -66,7 +66,8 @@ class RoomInfoState extends State<RoomInfo> with SingleTickerProviderStateMixin
|
|
|
|
|
|
//开始比赛确认按钮
|
|
|
showStart() async {
|
|
|
- bool result = await Navigator.of(context).push<bool>(PageRouteBuilder(
|
|
|
+ bool result = await Navigator.of(context).push<bool>(
|
|
|
+ PageRouteBuilder(
|
|
|
opaque: false,
|
|
|
transitionDuration: Duration(milliseconds: 300),
|
|
|
transitionsBuilder: (BuildContext context, Animation<double> animation, Animation<double> secondaryAnimation, Widget child) {
|
|
|
@@ -77,7 +78,9 @@ class RoomInfoState extends State<RoomInfo> with SingleTickerProviderStateMixin
|
|
|
},
|
|
|
pageBuilder: (BuildContext context, _, __) {
|
|
|
return StartWindow();
|
|
|
- }));
|
|
|
+ },
|
|
|
+ ),
|
|
|
+ );
|
|
|
|
|
|
Toast.show(context, '加载中', -1, 'loading');
|
|
|
Map<String, dynamic> data = {"id": playerInfo.id};
|