Card(
color: AppTheme.textColor26,
elevation: 2,
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(5.0),
//side: BorderSide(color: AppColors.appBarColor, width: 1.0),
),
child: Column(
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
mainAxisSize: MainAxisSize.min,
children: [
Align(
child: Padding(
padding: const EdgeInsets.all(8.0),
child: Text(
'Closed By',
style: TextStyle(
fontFamily: 'Manrope',
fontSize: 15.0,
color: AppTheme.textColor27,
fontWeight: FontWeight.w500,
),
),
),
alignment: Alignment.centerLeft,
),
Padding(
padding: const EdgeInsets.all(1.5),
child: Card(
elevation: 0,
color: AppTheme.textColor1,
margin: EdgeInsets.zero,
shape: RoundedRectangleBorder(
borderRadius: BorderRadius.circular(5.0),
// side: BorderSide(color: AppColors.appBarColor, width: 1.0),
),
child: Padding(
padding: EdgeInsets.all(5.0),
child: Row(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.spaceBetween,
crossAxisAlignment: CrossAxisAlignment.center,
children: [
Expanded(
child: CircleAvatar(
// radius: 30,
child: ClipRRect(
borderRadius: BorderRadius.circular(50),
child: generateTeamMemberCircleImage(username: rateShoutClosure!.officerUsername!),
),
),
flex: 0,
),
SizedBox(
width: 10,
),
Expanded(
child: Column(
mainAxisSize: MainAxisSize.min,
mainAxisAlignment: MainAxisAlignment.start,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(
children: [
KText(text: 'Officer:'),
KText(
text: rateShoutClosure!.officerFullname,
bold: true,
),
],
),
Row(
children: [
KText(text: 'Agency:'),
KText(
text: rateShoutClosure!.agencyName,
bold: true,
),
],
),
Row(
children: [
KText(text: 'Phone:'),
KText(
text: rateShoutClosure!.officerMobile,
bold: true,
),
],
),
Row(
children: [
KText(text: 'Email:'),
KText(
text: rateShoutClosure!.officerEmail != null ? rateShoutClosure!.officerEmail : '',
bold: true,
),
],
),
],
),
flex: 1,
),
],
),
),
),
),
],
),
)