minor fixes

This commit is contained in:
sanjeev.p 2026-04-09 11:17:06 +05:30
parent a0c40d99f1
commit 108dba5dae
3 changed files with 89 additions and 89 deletions

File diff suppressed because one or more lines are too long

View File

@ -725,10 +725,10 @@ class policylistState extends ConsumerState<policylist> {
flex: 3,
child: Text('Policy Number', style: _headerStyle),
),
Expanded(
flex: 2,
child: Text('BDS Pushed', style: _headerStyle),
),
// Expanded(
// flex: 2,
// child: Text('BDS Pushed', style: _headerStyle),
// ),
Expanded(flex: 3, child: Text('Action', style: _headerStyle)),
],
@ -905,15 +905,15 @@ class policylistState extends ConsumerState<policylist> {
maxLines: 3,
),
),
Expanded(
flex: 2,
child: Text(
item['is_bds_pushed'] == '1' ? 'Yes' : 'No',
style: _dataBold,
softWrap: true,
maxLines: 3,
),
),
// Expanded(
// flex: 2,
// child: Text(
// item['is_bds_pushed'] == '1' ? 'Yes' : 'No',
// style: _dataBold,
// softWrap: true,
// maxLines: 3,
// ),
// ),
// Expanded(
// flex: 3,
// child: Row(

View File

@ -493,81 +493,81 @@ class _CompactDateRangeDialogState extends State<_CompactDateRangeDialog> {
),
],
),
Container(
decoration: BoxDecoration(
color: const Color(0xFFF8FAFC),
borderRadius: BorderRadius.circular(12),
border: Border.all(color: const Color(0xFFE2E8F0)),
),
child: Row(
children: [
Expanded(
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 12, horizontal: 12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'From',
style: GoogleFonts.inter(
fontSize: 11,
color: _muted,
fontWeight: FontWeight.w500,
),
),
const SizedBox(height: 4),
Text(
_start != null
? _headerFrom.format(_start!)
: '',
style: GoogleFonts.inter(
fontSize: 14,
fontWeight: FontWeight.w700,
color: const Color(0xFF0F172A),
),
),
],
),
),
),
Container(
width: 1,
height: 52,
color: const Color(0xFFE2E8F0)),
Expanded(
child: Padding(
padding: const EdgeInsets.symmetric(
vertical: 12, horizontal: 12),
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
'To',
style: GoogleFonts.inter(
fontSize: 11,
color: _muted,
fontWeight: FontWeight.w500,
),
),
const SizedBox(height: 4),
Text(
_start != null
? _headerFrom.format(_end ?? _start!)
: '',
style: GoogleFonts.inter(
fontSize: 14,
fontWeight: FontWeight.w700,
color: const Color(0xFF0F172A),
),
),
],
),
),
),
],
),
),
// Container(
// decoration: BoxDecoration(
// color: const Color(0xFFF8FAFC),
// borderRadius: BorderRadius.circular(12),
// border: Border.all(color: const Color(0xFFE2E8F0)),
// ),
// child: Row(
// children: [
// Expanded(
// child: Padding(
// padding: const EdgeInsets.symmetric(
// vertical: 12, horizontal: 12),
// child: Column(
// crossAxisAlignment: CrossAxisAlignment.start,
// children: [
// Text(
// 'From',
// style: GoogleFonts.inter(
// fontSize: 11,
// color: _muted,
// fontWeight: FontWeight.w500,
// ),
// ),
// const SizedBox(height: 4),
// Text(
// _start != null
// ? _headerFrom.format(_start!)
// : '',
// style: GoogleFonts.inter(
// fontSize: 14,
// fontWeight: FontWeight.w700,
// color: const Color(0xFF0F172A),
// ),
// ),
// ],
// ),
// ),
// ),
// Container(
// width: 1,
// height: 52,
// color: const Color(0xFFE2E8F0)),
// Expanded(
// child: Padding(
// padding: const EdgeInsets.symmetric(
// vertical: 12, horizontal: 12),
// child: Column(
// crossAxisAlignment: CrossAxisAlignment.start,
// children: [
// Text(
// 'To',
// style: GoogleFonts.inter(
// fontSize: 11,
// color: _muted,
// fontWeight: FontWeight.w500,
// ),
// ),
// const SizedBox(height: 4),
// Text(
// _start != null
// ? _headerFrom.format(_end ?? _start!)
// : '',
// style: GoogleFonts.inter(
// fontSize: 14,
// fontWeight: FontWeight.w700,
// color: const Color(0xFF0F172A),
// ),
// ),
// ],
// ),
// ),
// ),
// ],
// ),
// ),
const SizedBox(height: 10),
Row(
children: [