Modified TenderDetailHeader to conditionally display the estimated value container based on its presence
This commit is contained in:
@@ -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 {
|
|||||||
),
|
),
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
),
|
||||||
],
|
],
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user