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

View File

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