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:
@@ -199,7 +199,9 @@ class TenderDetailHeader extends StatelessWidget {
|
||||
? Flag(countryCode: detail.countryCode!)
|
||||
: const Flag(countryCode: ''),
|
||||
const Spacer(),
|
||||
Container(
|
||||
Visibility(
|
||||
visible: detail.estimatedValue != null && detail.estimatedValue != 0,
|
||||
child: Container(
|
||||
height: 32.0.h(),
|
||||
padding: EdgeInsets.symmetric(horizontal: 16.0.w()),
|
||||
decoration: BoxDecoration(
|
||||
@@ -216,6 +218,7 @@ class TenderDetailHeader extends StatelessWidget {
|
||||
),
|
||||
),
|
||||
),
|
||||
),
|
||||
],
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user