feat(diary): consultant comments

This commit is contained in:
Username1548
2025-04-24 04:20:24 +07:00
parent 267cc38a0b
commit 3754d047fb
102 changed files with 6021 additions and 494 deletions

View File

@@ -60,7 +60,7 @@ class _InfoAboutRecipeWidgetState extends State<InfoAboutRecipeWidget> {
),
if (state.titleValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.titleValidationError!,
),
],
@@ -111,7 +111,7 @@ class _InfoAboutRecipeWidgetState extends State<InfoAboutRecipeWidget> {
),
if (state.descriptionValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.descriptionValidationError!,
),
],
@@ -135,7 +135,7 @@ class _InfoAboutRecipeWidgetState extends State<InfoAboutRecipeWidget> {
),
if (state.imageValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.imageValidationError!,
),
],

View File

@@ -55,7 +55,7 @@ class _PortionWidgetState extends State<PortionWidget> {
),
if (state.servingsValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.servingsValidationError!,
),
],
@@ -88,7 +88,7 @@ class _PortionWidgetState extends State<PortionWidget> {
),
if (state.energyPerServingValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.energyPerServingValidationError!,
),
],

View File

@@ -82,7 +82,7 @@ class _TimeOfCookWidgetState extends State<TimeOfCookWidget> {
),
if (state.cookingTimeValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.cookingTimeValidationError!,
),
],
@@ -108,7 +108,7 @@ class _TimeOfCookWidgetState extends State<TimeOfCookWidget> {
),
if (state.cookingTimeValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.cookingTimeValidationError!,
),
],
@@ -169,7 +169,7 @@ class _TimeOfCookWidgetState extends State<TimeOfCookWidget> {
),
if (state.activeTimeValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.activeTimeValidationError!,
),
],
@@ -196,7 +196,7 @@ class _TimeOfCookWidgetState extends State<TimeOfCookWidget> {
),
if (state.activeTimeValidationError != null) ...[
const SizedBox(height: 4),
CustomErrorWidget(
ValidationErrorWidget(
error: state.activeTimeValidationError!,
),
],