wurong
2 years ago
2 changed files with 46 additions and 0 deletions
@ -0,0 +1,45 @@
|
||||
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, |
||||
),) |
||||
|
||||
],), |
||||
], |
||||
); |
||||
} |
||||
} |
Loading…
Reference in new issue