|
|
|
|
@ -482,19 +482,20 @@ class _AttachmentPickerState extends State<AttachmentPicker> {
|
|
|
|
|
return Container(
|
|
|
|
|
padding: const EdgeInsets.all(12),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: Colors.white,
|
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
|
border: Border.all(color: const Color(0xffF1F1F1), width: 1),
|
|
|
|
|
color: AppColor.background(context),
|
|
|
|
|
borderRadius: BorderRadius.circular(16),
|
|
|
|
|
border: Border.all(color: AppColor.borderColor(context), width: 2),
|
|
|
|
|
),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
Icon(iconData, color: const Color(0xff7D859A), size: 36),
|
|
|
|
|
Text(
|
|
|
|
|
title,
|
|
|
|
|
style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
|
|
|
|
|
),
|
|
|
|
|
Icon(iconData, color: AppColor.icon2Color(context), size: 24),
|
|
|
|
|
title.bodyText2(context).custom(color: AppColor.labelTextStyleColor(context), fontSize: context.isTablet() ? 10.toScreenWidth : null),
|
|
|
|
|
// Text(
|
|
|
|
|
// title,
|
|
|
|
|
// style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
|
|
|
|
|
// ),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
@ -509,20 +510,15 @@ class _AttachmentPickerState extends State<AttachmentPicker> {
|
|
|
|
|
padding: const EdgeInsets.all(12),
|
|
|
|
|
decoration: BoxDecoration(
|
|
|
|
|
color: AppColor.background(context),
|
|
|
|
|
// color: Colors.white,
|
|
|
|
|
borderRadius: BorderRadius.circular(12),
|
|
|
|
|
border: Border.all(color: const Color(0xffF1F1F1), width: 1),
|
|
|
|
|
borderRadius: BorderRadius.circular(16),
|
|
|
|
|
border: Border.all(color: AppColor.borderColor(context), width: 2),
|
|
|
|
|
),
|
|
|
|
|
child: Column(
|
|
|
|
|
crossAxisAlignment: CrossAxisAlignment.start,
|
|
|
|
|
mainAxisAlignment: MainAxisAlignment.spaceBetween,
|
|
|
|
|
children: [
|
|
|
|
|
icon.toSvgAsset(color: AppColor.iconColor(context), width: 36, height: 36),
|
|
|
|
|
// Icon(iconData, color: const Color(0xff7D859A), size: 36),
|
|
|
|
|
Text(
|
|
|
|
|
label,
|
|
|
|
|
style: const TextStyle(fontSize: 12, fontWeight: FontWeight.w500),
|
|
|
|
|
),
|
|
|
|
|
icon.toSvgAsset(color: AppColor.icon2Color(context), width: 36, height: 36),
|
|
|
|
|
label.bodyText2(context).custom(color: AppColor.labelTextStyleColor(context), fontSize: context.isTablet() ? 10.toScreenWidth : null),
|
|
|
|
|
],
|
|
|
|
|
),
|
|
|
|
|
).onPress(onTap);
|
|
|
|
|
|