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

@@ -35,7 +35,7 @@ class _StepsWidgetState extends State<StepsWidget> {
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Text(
const Text(
'Пошаговая инструкция',
style: TextStyle(
fontSize: 20,
@@ -54,7 +54,7 @@ class _StepsWidgetState extends State<StepsWidget> {
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Container(
padding: EdgeInsets.symmetric(
padding: const EdgeInsets.symmetric(
horizontal: 12,
vertical: 4,
),
@@ -64,7 +64,7 @@ class _StepsWidgetState extends State<StepsWidget> {
),
child: Text(
'Шаг ${index + 1}',
style: TextStyle(
style: const TextStyle(
color: Colors.white,
fontWeight: FontWeight.w600,
),
@@ -74,13 +74,13 @@ class _StepsWidgetState extends State<StepsWidget> {
onTap: () {
context.read<CreateRecipeCubit>().removeStep(state.entity.steps[index]);
},
child: Icon(Icons.delete_outline_rounded),
child: const Icon(Icons.delete_outline_rounded),
),
],
),
const SizedBox(height: 12),
Text('Описание'),
SizedBox(height: 4),
const Text('Описание'),
const SizedBox(height: 4),
CustomTextFormField(
hintText: 'Например: подготовьте ингредиенты',
maxLines: 5,
@@ -90,8 +90,8 @@ class _StepsWidgetState extends State<StepsWidget> {
},
),
const SizedBox(height: 12),
Text('Фото шага'),
SizedBox(height: 4),
const Text('Фото шага'),
const SizedBox(height: 4),
StepImageWidget(
index: index,
),
@@ -114,7 +114,7 @@ class _StepsWidgetState extends State<StepsWidget> {
child: Container(
padding: const EdgeInsets.all(16),
alignment: Alignment.center,
child: Text(
child: const Text(
'Добавить шаг',
style: TextStyle(
fontSize: 16,