You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.2 KiB
46 lines
1.2 KiB
2 years ago
|
import 'package:flutter/material.dart';
|
||
|
import 'package:flutter_screenutil/flutter_screenutil.dart';
|
||
|
import 'package:flutter_smart_dialog/flutter_smart_dialog.dart';
|
||
|
import 'package:huixiang/generated/l10n.dart';
|
||
|
import 'package:huixiang/retrofit/data/login_info.dart';
|
||
|
import 'package:huixiang/utils/flutter_utils.dart';
|
||
|
import 'package:huixiang/utils/font_weight.dart';
|
||
|
import 'package:huixiang/view_widget/round_button.dart';
|
||
|
|
||
|
class ChannelDialog extends StatefulWidget {
|
||
|
|
||
|
@override
|
||
|
State<StatefulWidget> createState() {
|
||
|
return _ChannelDialog();
|
||
|
}
|
||
|
|
||
|
}
|
||
|
|
||
|
class _ChannelDialog extends State<ChannelDialog> {
|
||
|
@override
|
||
|
Widget build(BuildContext context) {
|
||
|
return SimpleDialog(
|
||
|
titlePadding: EdgeInsets.all(10),
|
||
|
backgroundColor: Colors.transparent,
|
||
|
elevation: 0,
|
||
|
shape: RoundedRectangleBorder(
|
||
|
borderRadius: BorderRadius.circular(6),
|
||
|
),
|
||
|
children: [
|
||
|
Column(children: [
|
||
|
GestureDetector(onTap: (){
|
||
|
setState(() {
|
||
|
Navigator.of(context).pop();
|
||
|
});
|
||
|
},child:Image.asset(
|
||
|
"assets/image/yq_qx.webp",
|
||
|
width: 34,
|
||
|
height: 34,
|
||
|
),)
|
||
|
|
||
|
],),
|
||
|
],
|
||
|
);
|
||
|
}
|
||
|
}
|