fixed emty list text ans base button loading
This commit is contained in:
@@ -39,7 +39,7 @@ class BaseButton extends StatelessWidget {
|
|||||||
width: double.infinity,
|
width: double.infinity,
|
||||||
height: 55.0.h(),
|
height: 55.0.h(),
|
||||||
decoration: BoxDecoration(
|
decoration: BoxDecoration(
|
||||||
color: AppColors.mainBlue,
|
color: AppColors.backgroundColor,
|
||||||
borderRadius: BorderRadius.circular(28.0.w()),
|
borderRadius: BorderRadius.circular(28.0.w()),
|
||||||
),
|
),
|
||||||
child: Center(
|
child: Center(
|
||||||
|
|||||||
@@ -12,7 +12,7 @@ class ApprovedTenders extends StatelessWidget {
|
|||||||
@override
|
@override
|
||||||
Widget build(BuildContext context) {
|
Widget build(BuildContext context) {
|
||||||
return approvedTenders.data == null
|
return approvedTenders.data == null
|
||||||
? const Center(child: Text('No data available'))
|
? const Center(child: Text('No approved projects yet.'))
|
||||||
: ListView.builder(
|
: ListView.builder(
|
||||||
padding: const EdgeInsets.only(top: 20),
|
padding: const EdgeInsets.only(top: 20),
|
||||||
itemCount: approvedTenders.data!.length,
|
itemCount: approvedTenders.data!.length,
|
||||||
|
|||||||
Reference in New Issue
Block a user