firstIntoKol() {
showDialog(
context: context,
builder: (context) => SafeArea(
child: Dialog(
alignment: Alignment.center,
backgroundColor: Colors.transparent,
elevation: 0,
insetAnimationCurve: Curves.easeInToLinear,
child: Column(
children: [
Container(
width: 400.w,
height: 600.h,
decoration: BoxDecoration(
color: appcolor.white,
borderRadius: BorderRadius.circular(12),
),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Padding(
padding:
EdgeInsets.only(left: 16.w, right: 16.w, top: 12.h),
child: Text(
apptext.whatkol,
style: TextStyle(
fontWeight: FontWeight.bold, fontSize: 15.sp),
),
),
SizedBox(
height: 3.h,
),
Padding(
padding: EdgeInsets.only(left: 16.w, right: 16.w),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children:
apptext.kolques.map((e) => Text('$e')).toList(),
),
),
SizedBox(
height: 8.h,
),
],
),
),
SizedBox(
height: 20.h,
),
GestureDetector(
onTap: () {
Get.back();
},
child: Container(
alignment: Alignment.center,
width: 35.w,
height: 35.h,
child: Image.asset(
'assets/logo/chose.png',
color: appcolor.white,
),
),
),
],
),
),
),
);
}
版权属于:
narakuyang
作品采用:
《
署名-非商业性使用-相同方式共享 4.0 国际 (CC BY-NC-SA 4.0)
》许可协议授权
评论