Skip to content

Commit

Permalink
fix: fix analyze issues
Browse files Browse the repository at this point in the history
  • Loading branch information
simonoppowa committed Sep 27, 2024
1 parent 61a08c5 commit 0c70159
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions lib/features/edit_meal/presentation/edit_meal_screen.dart
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
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(
Expand All @@ -155,7 +155,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
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(
Expand Down Expand Up @@ -184,7 +184,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
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(
Expand All @@ -193,7 +193,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
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(
Expand All @@ -202,7 +202,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
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(
Expand All @@ -211,7 +211,7 @@ class _EditMealScreenState extends State<EditMealScreen> {
decoration: InputDecoration(
labelText: S.of(context).mealProteinLabel+baseQuantity+baseQuantityUnit,
border: const OutlineInputBorder()),
keyboardType: TextInputType.numberWithOptions(decimal: true),
keyboardType: const TextInputType.numberWithOptions(decimal: true),
),
],
),
Expand Down

0 comments on commit 0c70159

Please sign in to comment.