Fixed some w(),h() and persion text
This commit is contained in:
@@ -94,7 +94,7 @@ class _LikedTendersDesktopPageState extends State<LikedTendersDesktopPage> {
|
|||||||
|
|
||||||
if (feedback.isEmpty) {
|
if (feedback.isEmpty) {
|
||||||
return const Center(
|
return const Center(
|
||||||
child: Text('چیزی برای نمایش نیست'),
|
child: Text('Nothing to show'),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -138,12 +138,12 @@ class _LikedTendersDesktopPageState extends State<LikedTendersDesktopPage> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.symmetric(vertical: 20),
|
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 24,
|
width: 24.0.w(),
|
||||||
height: 24,
|
height: 24.0.h(),
|
||||||
child: CircularProgressIndicator(
|
child: CircularProgressIndicator(
|
||||||
color: AppColors.secondary50,
|
color: AppColors.secondary50,
|
||||||
strokeWidth: 2,
|
strokeWidth: 2,
|
||||||
|
|||||||
@@ -71,7 +71,7 @@ class _LikedTendersMobilePageState extends State<LikedTendersMobilePage> {
|
|||||||
final feedback = viewModel.data?.data?.feedback ?? [];
|
final feedback = viewModel.data?.data?.feedback ?? [];
|
||||||
|
|
||||||
if (feedback.isEmpty) {
|
if (feedback.isEmpty) {
|
||||||
return const Center(child: Text('چیزی برای نمایش نیست'));
|
return const Center(child: Text('Nothing to show'));
|
||||||
}
|
}
|
||||||
|
|
||||||
final itemCount = feedback.length + (viewModel.isLoadingMore ? 1 : 0);
|
final itemCount = feedback.length + (viewModel.isLoadingMore ? 1 : 0);
|
||||||
@@ -109,12 +109,12 @@ class _LikedTendersMobilePageState extends State<LikedTendersMobilePage> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.symmetric(vertical: 20),
|
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 24,
|
width: 24.0.w(),
|
||||||
height: 24,
|
height: 24.0.h(),
|
||||||
child: CircularProgressIndicator(
|
child: CircularProgressIndicator(
|
||||||
color: AppColors.secondary50,
|
color: AppColors.secondary50,
|
||||||
strokeWidth: 2,
|
strokeWidth: 2,
|
||||||
|
|||||||
@@ -96,7 +96,7 @@ class _LikedTendersTabletPageState extends State<LikedTendersTabletPage> {
|
|||||||
final feedback = viewModel.data?.data?.feedback ?? [];
|
final feedback = viewModel.data?.data?.feedback ?? [];
|
||||||
|
|
||||||
if (feedback.isEmpty) {
|
if (feedback.isEmpty) {
|
||||||
return const Center(child: Text('چیزی برای نمایش نیست'));
|
return const Center(child: Text('Nothing to show'));
|
||||||
}
|
}
|
||||||
|
|
||||||
final itemCount =
|
final itemCount =
|
||||||
@@ -138,12 +138,12 @@ class _LikedTendersTabletPageState extends State<LikedTendersTabletPage> {
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
} else {
|
} else {
|
||||||
return const Padding(
|
return Padding(
|
||||||
padding: EdgeInsets.symmetric(vertical: 20),
|
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
|
||||||
child: Center(
|
child: Center(
|
||||||
child: SizedBox(
|
child: SizedBox(
|
||||||
width: 24,
|
width: 24.0.w(),
|
||||||
height: 24,
|
height: 24.0.h(),
|
||||||
child: CircularProgressIndicator(
|
child: CircularProgressIndicator(
|
||||||
color: AppColors.secondary50,
|
color: AppColors.secondary50,
|
||||||
strokeWidth: 2,
|
strokeWidth: 2,
|
||||||
|
|||||||
@@ -131,7 +131,7 @@ class _LoginDesktopPageState extends State<LoginDesktopPage> {
|
|||||||
? Padding(
|
? Padding(
|
||||||
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
|
padding: EdgeInsets.symmetric(vertical: 20.0.h()),
|
||||||
child: ClipRRect(
|
child: ClipRRect(
|
||||||
borderRadius: BorderRadiusGeometry.circular(32),
|
borderRadius: BorderRadius.circular(32),
|
||||||
child: Image.asset(
|
child: Image.asset(
|
||||||
AssetsManager.webLoginImage,
|
AssetsManager.webLoginImage,
|
||||||
width: 796.0,
|
width: 796.0,
|
||||||
|
|||||||
Reference in New Issue
Block a user