Merge pull request 'Modified TenderDetailHeader to conditionally display the estimated value container based on its presence' (#213) from detail_budget into main

Reviewed-on: https://repo.ravanertebat.com/TM/tm_app/pulls/213
This commit is contained in:
a.ghabeli
2025-10-12 15:36:43 +03:30
@@ -199,7 +199,9 @@ class TenderDetailHeader extends StatelessWidget {
? Flag(countryCode: detail.countryCode!) ? Flag(countryCode: detail.countryCode!)
: const Flag(countryCode: ''), : const Flag(countryCode: ''),
const Spacer(), const Spacer(),
Container( Visibility(
visible: detail.estimatedValue != null && detail.estimatedValue != 0,
child: Container(
height: 32.0.h(), height: 32.0.h(),
padding: EdgeInsets.symmetric(horizontal: 16.0.w()), padding: EdgeInsets.symmetric(horizontal: 16.0.w()),
decoration: BoxDecoration( decoration: BoxDecoration(
@@ -216,6 +218,7 @@ class TenderDetailHeader extends StatelessWidget {
), ),
), ),
), ),
),
], ],
); );
} }