feat(order info): added order info screen

This commit is contained in:
Username1548
2025-04-04 20:21:31 +07:00
parent 9715f4cac9
commit 748484cf8f
387 changed files with 16171 additions and 18199 deletions

View File

@@ -13,7 +13,7 @@ class StepsWidget extends StatelessWidget {
Widget build(BuildContext context) {
final s = S.of(context);
return MainBackgroundBouble(
padding: EdgeInsets.all(16),
padding: const EdgeInsets.all(16),
child: Column(
spacing: 16,
crossAxisAlignment: CrossAxisAlignment.start,
@@ -32,7 +32,7 @@ class StepsWidget extends StatelessWidget {
color: appTheme.blueA400,
borderRadius: BorderRadius.circular(8),
),
padding: EdgeInsets.symmetric(horizontal: 12, vertical: 8),
padding: const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
child: Text(
'${s.step} ${index + 1}',
style: TextStyles.textSSemibold.copyWith(color: appTheme.whiteA700),
@@ -44,7 +44,7 @@ class StepsWidget extends StatelessWidget {
child: ClipRRect(
borderRadius: BorderRadius.circular(16),
child: Image.network(
baseUrl + '/storage/' + recipe.steps![index].image,
'$baseUrl/storage/${recipe.steps![index].image}',
fit: BoxFit.cover,
),
),