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 createState() { return _ChannelDialog(); } } class _ChannelDialog extends State { @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, ),) ],), ], ); } }