forked from eatvio/eatvio_app
refactor(diary): Removed unused imports
This commit is contained in:
@@ -10,7 +10,6 @@ import 'package:eatvio_app/widgets/custom_edit_text_form_field.dart';
|
||||
import 'package:eatvio_app/widgets/custom_edit_drop_down.dart';
|
||||
import 'package:eatvio_app/widgets/custom_outlined_button.dart';
|
||||
import 'package:eatvio_app/widgets/custom_scale_element.dart';
|
||||
import 'package:flutter_typeahead/flutter_typeahead.dart';
|
||||
|
||||
// ignore: must_be_immutable
|
||||
class DiaryEditScreen extends StatelessWidget {
|
||||
@@ -304,7 +303,7 @@ class DiaryEditScreen extends StatelessWidget {
|
||||
/*print(state.autocompleteList
|
||||
?.map((dynamic item) => item as String)
|
||||
.toList());*/
|
||||
if (value.length > 3) {
|
||||
if (value.length > 2) {
|
||||
context.read<DiaryEditBloc>().add(ProductInput(value));
|
||||
}
|
||||
},
|
||||
@@ -474,7 +473,9 @@ class DiaryEditScreen extends StatelessWidget {
|
||||
bottom: 3.v,
|
||||
),
|
||||
child: Text(
|
||||
portion['quantity'] + portion['portion'],
|
||||
portion['quantity'].toString() +
|
||||
' ' +
|
||||
portion['portion'].toString(),
|
||||
),
|
||||
),
|
||||
Spacer(),
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
import 'package:eatvio_app/core/app_export.dart';
|
||||
import 'package:flutter/material.dart';
|
||||
/*
|
||||
class CustomTextFormField extends StatelessWidget {
|
||||
// ...
|
||||
|
||||
Reference in New Issue
Block a user