|
|
@ -647,109 +647,85 @@ class _LiveStreamViewPageState extends State<LiveStreamViewPage> {
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
onPressed: () {
|
|
|
|
onPressed: () {
|
|
|
|
_focusNode.unfocus();
|
|
|
|
_focusNode.unfocus();
|
|
|
|
ActionSheet.show(
|
|
|
|
showModalBottomSheet(
|
|
|
|
context,
|
|
|
|
context: context,
|
|
|
|
items: ['举报'],
|
|
|
|
builder: (context) {
|
|
|
|
listener: (index) {
|
|
|
|
return Container(
|
|
|
|
Navigator.pop(context);
|
|
|
|
width: rSize(200),
|
|
|
|
//fake
|
|
|
|
color: Colors.black87,
|
|
|
|
Future.delayed(
|
|
|
|
child: Padding(
|
|
|
|
Duration(milliseconds: 1000), () {
|
|
|
|
padding: EdgeInsets.all(8.0),
|
|
|
|
GSDialog.of(context)
|
|
|
|
child: Column(
|
|
|
|
.showSuccess(context, '举报成功');
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
});
|
|
|
|
children: [
|
|
|
|
},
|
|
|
|
Row(
|
|
|
|
);
|
|
|
|
children: [
|
|
|
|
},
|
|
|
|
CustomImageButton(
|
|
|
|
child: CustomImageButton(
|
|
|
|
onPressed: () {
|
|
|
|
padding: EdgeInsets.zero,
|
|
|
|
Navigator.pop(context);
|
|
|
|
onPressed: () {
|
|
|
|
setState(() {
|
|
|
|
_focusNode.unfocus();
|
|
|
|
chatObjects.clear();
|
|
|
|
showModalBottomSheet(
|
|
|
|
});
|
|
|
|
context: context,
|
|
|
|
},
|
|
|
|
builder: (context) {
|
|
|
|
child: Column(
|
|
|
|
return Container(
|
|
|
|
children: [
|
|
|
|
width: rSize(200),
|
|
|
|
SizedBox(
|
|
|
|
color: Colors.black87,
|
|
|
|
width: rSize(60),
|
|
|
|
child: Padding(
|
|
|
|
height: rSize(60),
|
|
|
|
padding: EdgeInsets.all(8.0),
|
|
|
|
child: Icon(
|
|
|
|
child: Column(
|
|
|
|
Icons.clear_all,
|
|
|
|
mainAxisSize: MainAxisSize.min,
|
|
|
|
size: rSize(30),
|
|
|
|
children: [
|
|
|
|
|
|
|
|
Row(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
CustomImageButton(
|
|
|
|
|
|
|
|
onPressed: () {
|
|
|
|
|
|
|
|
Navigator.pop(
|
|
|
|
|
|
|
|
context);
|
|
|
|
|
|
|
|
setState(() {
|
|
|
|
|
|
|
|
chatObjects.clear();
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
|
|
|
|
child: Column(
|
|
|
|
|
|
|
|
children: [
|
|
|
|
|
|
|
|
SizedBox(
|
|
|
|
|
|
|
|
width: rSize(60),
|
|
|
|
|
|
|
|
height: rSize(60),
|
|
|
|
|
|
|
|
child: Icon(
|
|
|
|
|
|
|
|
Icons.clear_all,
|
|
|
|
|
|
|
|
size: rSize(30),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text('清屏'),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
Text('清屏'),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
CustomImageButton(
|
|
|
|
),
|
|
|
|
onPressed: () {
|
|
|
|
CustomImageButton(
|
|
|
|
Navigator.pop(
|
|
|
|
onPressed: () {
|
|
|
|
context);
|
|
|
|
Navigator.pop(context);
|
|
|
|
if (UserManager
|
|
|
|
if (UserManager.instance
|
|
|
|
.instance
|
|
|
|
.haveLogin) {
|
|
|
|
.haveLogin) {
|
|
|
|
showModalBottomSheet(
|
|
|
|
showModalBottomSheet(
|
|
|
|
context: context,
|
|
|
|
context: context,
|
|
|
|
builder: (context) {
|
|
|
|
builder:
|
|
|
|
return LiveReportView();
|
|
|
|
(context) {
|
|
|
|
},
|
|
|
|
return LiveReportView();
|
|
|
|
);
|
|
|
|
},
|
|
|
|
} else {
|
|
|
|
);
|
|
|
|
showToast('未登陆,请先登陆');
|
|
|
|
} else {
|
|
|
|
CRoute.pushReplace(
|
|
|
|
showToast(
|
|
|
|
context,
|
|
|
|
'未登陆,请先登陆');
|
|
|
|
UserPage());
|
|
|
|
CRoute.pushReplace(
|
|
|
|
}
|
|
|
|
context,
|
|
|
|
},
|
|
|
|
UserPage());
|
|
|
|
child: Column(
|
|
|
|
}
|
|
|
|
children: [
|
|
|
|
},
|
|
|
|
SizedBox(
|
|
|
|
child: Column(
|
|
|
|
width: rSize(60),
|
|
|
|
children: [
|
|
|
|
height: rSize(60),
|
|
|
|
SizedBox(
|
|
|
|
child: Icon(
|
|
|
|
width: rSize(60),
|
|
|
|
Icons
|
|
|
|
height: rSize(60),
|
|
|
|
.report_problem,
|
|
|
|
child: Icon(
|
|
|
|
size: rSize(30),
|
|
|
|
Icons
|
|
|
|
|
|
|
|
.report_problem,
|
|
|
|
|
|
|
|
size: rSize(30),
|
|
|
|
|
|
|
|
),
|
|
|
|
|
|
|
|
),
|
|
|
|
),
|
|
|
|
Text('举报'),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
Text('举报'),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
],
|
|
|
|
),
|
|
|
|
),
|
|
|
|
);
|
|
|
|
),
|
|
|
|
});
|
|
|
|
);
|
|
|
|
},
|
|
|
|
});
|
|
|
|
child: Image.asset(
|
|
|
|
},
|
|
|
|
R.ASSETS_LIVE_LIVE_MORE_PNG,
|
|
|
|
child: Image.asset(
|
|
|
|
width: rSize(32),
|
|
|
|
R.ASSETS_LIVE_LIVE_MORE_PNG,
|
|
|
|
height: rSize(32),
|
|
|
|
width: rSize(32),
|
|
|
|
),
|
|
|
|
height: rSize(32),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
),
|
|
|
|
SizedBox(width: rSize(10)),
|
|
|
|
SizedBox(width: rSize(10)),
|
|
|
|