From 0c70159fd5ef1633897ff9ef30badcbbb34c0a1d Mon Sep 17 00:00:00 2001 From: Simon Oppowa <24407484+simonoppowa@users.noreply.github.com> Date: Fri, 27 Sep 2024 18:55:13 +0200 Subject: [PATCH] fix: fix analyze issues --- .../edit_meal/presentation/edit_meal_screen.dart | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/features/edit_meal/presentation/edit_meal_screen.dart b/lib/features/edit_meal/presentation/edit_meal_screen.dart index 465e044..ae851fa 100644 --- a/lib/features/edit_meal/presentation/edit_meal_screen.dart +++ b/lib/features/edit_meal/presentation/edit_meal_screen.dart @@ -146,7 +146,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).mealSizeLabel, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), const SizedBox(height: 16), TextFormField( @@ -155,7 +155,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).servingSizeLabel, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), const SizedBox(height: 16), DropdownButtonFormField( @@ -184,7 +184,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).mealKcalLabel+baseQuantity+baseQuantityUnit, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), const SizedBox(height: 16), TextFormField( @@ -193,7 +193,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).mealCarbsLabel+baseQuantity+baseQuantityUnit, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), const SizedBox(height: 16), TextFormField( @@ -202,7 +202,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).mealFatLabel+baseQuantity+baseQuantityUnit, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), const SizedBox(height: 16), TextFormField( @@ -211,7 +211,7 @@ class _EditMealScreenState extends State { decoration: InputDecoration( labelText: S.of(context).mealProteinLabel+baseQuantity+baseQuantityUnit, border: const OutlineInputBorder()), - keyboardType: TextInputType.numberWithOptions(decimal: true), + keyboardType: const TextInputType.numberWithOptions(decimal: true), ), ], ),