|
|
|
|
@@ -28,18 +28,19 @@ mixin _$DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -63,18 +64,19 @@ mixin _$DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -98,18 +100,19 @@ mixin _$DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -215,18 +218,19 @@ class _$DiaryStateImpl implements _DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -253,18 +257,19 @@ class _$DiaryStateImpl implements _DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -291,18 +296,19 @@ class _$DiaryStateImpl implements _DiaryState {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -410,18 +416,19 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -448,18 +455,19 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -486,18 +494,19 @@ class _$DiaryStateLoadingImpl implements DiaryStateLoading {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -571,18 +580,19 @@ abstract class _$$DiaryStateLoadedImplCopyWith<$Res> {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -613,18 +623,19 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
|
|
|
|
Object? consumedChartValues = null,
|
|
|
|
|
Object? portions = null,
|
|
|
|
|
Object? photos = null,
|
|
|
|
|
Object? portionList = null,
|
|
|
|
|
Object? currentMeal = null,
|
|
|
|
|
Object? portionController = freezed,
|
|
|
|
|
Object? portionController = null,
|
|
|
|
|
Object? wakeupController = freezed,
|
|
|
|
|
Object? retireController = freezed,
|
|
|
|
|
Object? mealTimeController = freezed,
|
|
|
|
|
Object? commentController = freezed,
|
|
|
|
|
Object? productNameController = freezed,
|
|
|
|
|
Object? productQuantityController = freezed,
|
|
|
|
|
Object? caloriesController = freezed,
|
|
|
|
|
Object? fatsController = freezed,
|
|
|
|
|
Object? proteinsController = freezed,
|
|
|
|
|
Object? carbsController = freezed,
|
|
|
|
|
Object? commentController = null,
|
|
|
|
|
Object? productNameController = null,
|
|
|
|
|
Object? productQuantityController = null,
|
|
|
|
|
Object? caloriesController = null,
|
|
|
|
|
Object? fatsController = null,
|
|
|
|
|
Object? proteinsController = null,
|
|
|
|
|
Object? carbsController = null,
|
|
|
|
|
Object? selectedMood = freezed,
|
|
|
|
|
Object? selectedSatiety = freezed,
|
|
|
|
|
Object? wakeupExpanded = null,
|
|
|
|
|
@@ -662,14 +673,18 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
|
|
|
|
? _value._photos
|
|
|
|
|
: photos // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as List<Photo>,
|
|
|
|
|
portionList: null == portionList
|
|
|
|
|
? _value._portionList
|
|
|
|
|
: portionList // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as List<SelectionPopupModel>,
|
|
|
|
|
currentMeal: null == currentMeal
|
|
|
|
|
? _value.currentMeal
|
|
|
|
|
: currentMeal // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as Meal,
|
|
|
|
|
portionController: freezed == portionController
|
|
|
|
|
portionController: null == portionController
|
|
|
|
|
? _value.portionController
|
|
|
|
|
: portionController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as SelectionPopupModel?,
|
|
|
|
|
as SelectionPopupModel,
|
|
|
|
|
wakeupController: freezed == wakeupController
|
|
|
|
|
? _value.wakeupController
|
|
|
|
|
: wakeupController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
@@ -682,34 +697,34 @@ class __$$DiaryStateLoadedImplCopyWithImpl<$Res>
|
|
|
|
|
? _value.mealTimeController
|
|
|
|
|
: mealTimeController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TimeOfDay?,
|
|
|
|
|
commentController: freezed == commentController
|
|
|
|
|
commentController: null == commentController
|
|
|
|
|
? _value.commentController
|
|
|
|
|
: commentController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
productNameController: freezed == productNameController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
productNameController: null == productNameController
|
|
|
|
|
? _value.productNameController
|
|
|
|
|
: productNameController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
productQuantityController: freezed == productQuantityController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
productQuantityController: null == productQuantityController
|
|
|
|
|
? _value.productQuantityController
|
|
|
|
|
: productQuantityController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
caloriesController: freezed == caloriesController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
caloriesController: null == caloriesController
|
|
|
|
|
? _value.caloriesController
|
|
|
|
|
: caloriesController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
fatsController: freezed == fatsController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
fatsController: null == fatsController
|
|
|
|
|
? _value.fatsController
|
|
|
|
|
: fatsController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
proteinsController: freezed == proteinsController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
proteinsController: null == proteinsController
|
|
|
|
|
? _value.proteinsController
|
|
|
|
|
: proteinsController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
carbsController: freezed == carbsController
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
carbsController: null == carbsController
|
|
|
|
|
? _value.carbsController
|
|
|
|
|
: carbsController // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
as TextEditingController?,
|
|
|
|
|
as TextEditingController,
|
|
|
|
|
selectedMood: freezed == selectedMood
|
|
|
|
|
? _value.selectedMood
|
|
|
|
|
: selectedMood // ignore: cast_nullable_to_non_nullable
|
|
|
|
|
@@ -769,8 +784,9 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
required final List<int> consumedChartValues,
|
|
|
|
|
required final List<Portion> portions,
|
|
|
|
|
required final List<Photo> photos,
|
|
|
|
|
required final List<SelectionPopupModel> portionList,
|
|
|
|
|
required this.currentMeal,
|
|
|
|
|
this.portionController,
|
|
|
|
|
required this.portionController,
|
|
|
|
|
this.wakeupController,
|
|
|
|
|
this.retireController,
|
|
|
|
|
this.mealTimeController,
|
|
|
|
|
@@ -792,7 +808,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
_recommendedChartValues = recommendedChartValues,
|
|
|
|
|
_consumedChartValues = consumedChartValues,
|
|
|
|
|
_portions = portions,
|
|
|
|
|
_photos = photos;
|
|
|
|
|
_photos = photos,
|
|
|
|
|
_portionList = portionList;
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
final DiaryModel diary;
|
|
|
|
|
@@ -841,10 +858,18 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
return EqualUnmodifiableListView(_photos);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
final List<SelectionPopupModel> _portionList;
|
|
|
|
|
@override
|
|
|
|
|
List<SelectionPopupModel> get portionList {
|
|
|
|
|
if (_portionList is EqualUnmodifiableListView) return _portionList;
|
|
|
|
|
// ignore: implicit_dynamic_type
|
|
|
|
|
return EqualUnmodifiableListView(_portionList);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
final Meal currentMeal;
|
|
|
|
|
@override
|
|
|
|
|
final SelectionPopupModel? portionController;
|
|
|
|
|
final SelectionPopupModel portionController;
|
|
|
|
|
@override
|
|
|
|
|
final TimeOfDay? wakeupController;
|
|
|
|
|
@override
|
|
|
|
|
@@ -852,19 +877,19 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
@override
|
|
|
|
|
final TimeOfDay? mealTimeController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? commentController;
|
|
|
|
|
final TextEditingController commentController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? productNameController;
|
|
|
|
|
final TextEditingController productNameController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? productQuantityController;
|
|
|
|
|
final TextEditingController productQuantityController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? caloriesController;
|
|
|
|
|
final TextEditingController caloriesController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? fatsController;
|
|
|
|
|
final TextEditingController fatsController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? proteinsController;
|
|
|
|
|
final TextEditingController proteinsController;
|
|
|
|
|
@override
|
|
|
|
|
final TextEditingController? carbsController;
|
|
|
|
|
final TextEditingController carbsController;
|
|
|
|
|
@override
|
|
|
|
|
final int? selectedMood;
|
|
|
|
|
@override
|
|
|
|
|
@@ -882,7 +907,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
String toString() {
|
|
|
|
|
return 'DiaryState.loaded(diary: $diary, diaryDate: $diaryDate, autocompleteList: $autocompleteList, recommendedChartValues: $recommendedChartValues, consumedChartValues: $consumedChartValues, portions: $portions, photos: $photos, currentMeal: $currentMeal, portionController: $portionController, wakeupController: $wakeupController, retireController: $retireController, mealTimeController: $mealTimeController, commentController: $commentController, productNameController: $productNameController, productQuantityController: $productQuantityController, caloriesController: $caloriesController, fatsController: $fatsController, proteinsController: $proteinsController, carbsController: $carbsController, selectedMood: $selectedMood, selectedSatiety: $selectedSatiety, wakeupExpanded: $wakeupExpanded, moderationExpanded: $moderationExpanded, moodExpanded: $moodExpanded, isLoading: $isLoading, isAdded: $isAdded)';
|
|
|
|
|
return 'DiaryState.loaded(diary: $diary, diaryDate: $diaryDate, autocompleteList: $autocompleteList, recommendedChartValues: $recommendedChartValues, consumedChartValues: $consumedChartValues, portions: $portions, photos: $photos, portionList: $portionList, currentMeal: $currentMeal, portionController: $portionController, wakeupController: $wakeupController, retireController: $retireController, mealTimeController: $mealTimeController, commentController: $commentController, productNameController: $productNameController, productQuantityController: $productQuantityController, caloriesController: $caloriesController, fatsController: $fatsController, proteinsController: $proteinsController, carbsController: $carbsController, selectedMood: $selectedMood, selectedSatiety: $selectedSatiety, wakeupExpanded: $wakeupExpanded, moderationExpanded: $moderationExpanded, moodExpanded: $moodExpanded, isLoading: $isLoading, isAdded: $isAdded)';
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@override
|
|
|
|
|
@@ -901,6 +926,8 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
.equals(other._consumedChartValues, _consumedChartValues) &&
|
|
|
|
|
const DeepCollectionEquality().equals(other._portions, _portions) &&
|
|
|
|
|
const DeepCollectionEquality().equals(other._photos, _photos) &&
|
|
|
|
|
const DeepCollectionEquality()
|
|
|
|
|
.equals(other._portionList, _portionList) &&
|
|
|
|
|
(identical(other.currentMeal, currentMeal) ||
|
|
|
|
|
other.currentMeal == currentMeal) &&
|
|
|
|
|
(identical(other.portionController, portionController) ||
|
|
|
|
|
@@ -951,6 +978,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
const DeepCollectionEquality().hash(_consumedChartValues),
|
|
|
|
|
const DeepCollectionEquality().hash(_portions),
|
|
|
|
|
const DeepCollectionEquality().hash(_photos),
|
|
|
|
|
const DeepCollectionEquality().hash(_portionList),
|
|
|
|
|
currentMeal,
|
|
|
|
|
portionController,
|
|
|
|
|
wakeupController,
|
|
|
|
|
@@ -992,18 +1020,19 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -1022,6 +1051,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
consumedChartValues,
|
|
|
|
|
portions,
|
|
|
|
|
photos,
|
|
|
|
|
portionList,
|
|
|
|
|
currentMeal,
|
|
|
|
|
portionController,
|
|
|
|
|
wakeupController,
|
|
|
|
|
@@ -1056,18 +1086,19 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -1086,6 +1117,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
consumedChartValues,
|
|
|
|
|
portions,
|
|
|
|
|
photos,
|
|
|
|
|
portionList,
|
|
|
|
|
currentMeal,
|
|
|
|
|
portionController,
|
|
|
|
|
wakeupController,
|
|
|
|
|
@@ -1120,18 +1152,19 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -1152,6 +1185,7 @@ class _$DiaryStateLoadedImpl implements DiaryStateLoaded {
|
|
|
|
|
consumedChartValues,
|
|
|
|
|
portions,
|
|
|
|
|
photos,
|
|
|
|
|
portionList,
|
|
|
|
|
currentMeal,
|
|
|
|
|
portionController,
|
|
|
|
|
wakeupController,
|
|
|
|
|
@@ -1222,18 +1256,19 @@ abstract class DiaryStateLoaded implements DiaryState {
|
|
|
|
|
required final List<int> consumedChartValues,
|
|
|
|
|
required final List<Portion> portions,
|
|
|
|
|
required final List<Photo> photos,
|
|
|
|
|
required final List<SelectionPopupModel> portionList,
|
|
|
|
|
required final Meal currentMeal,
|
|
|
|
|
final SelectionPopupModel? portionController,
|
|
|
|
|
required final SelectionPopupModel portionController,
|
|
|
|
|
final TimeOfDay? wakeupController,
|
|
|
|
|
final TimeOfDay? retireController,
|
|
|
|
|
final TimeOfDay? mealTimeController,
|
|
|
|
|
required final TextEditingController? commentController,
|
|
|
|
|
required final TextEditingController? productNameController,
|
|
|
|
|
required final TextEditingController? productQuantityController,
|
|
|
|
|
required final TextEditingController? caloriesController,
|
|
|
|
|
required final TextEditingController? fatsController,
|
|
|
|
|
required final TextEditingController? proteinsController,
|
|
|
|
|
required final TextEditingController? carbsController,
|
|
|
|
|
required final TextEditingController commentController,
|
|
|
|
|
required final TextEditingController productNameController,
|
|
|
|
|
required final TextEditingController productQuantityController,
|
|
|
|
|
required final TextEditingController caloriesController,
|
|
|
|
|
required final TextEditingController fatsController,
|
|
|
|
|
required final TextEditingController proteinsController,
|
|
|
|
|
required final TextEditingController carbsController,
|
|
|
|
|
final int? selectedMood,
|
|
|
|
|
final int? selectedSatiety,
|
|
|
|
|
required final bool wakeupExpanded,
|
|
|
|
|
@@ -1249,18 +1284,19 @@ abstract class DiaryStateLoaded implements DiaryState {
|
|
|
|
|
List<int> get consumedChartValues;
|
|
|
|
|
List<Portion> get portions;
|
|
|
|
|
List<Photo> get photos;
|
|
|
|
|
List<SelectionPopupModel> get portionList;
|
|
|
|
|
Meal get currentMeal;
|
|
|
|
|
SelectionPopupModel? get portionController;
|
|
|
|
|
SelectionPopupModel get portionController;
|
|
|
|
|
TimeOfDay? get wakeupController;
|
|
|
|
|
TimeOfDay? get retireController;
|
|
|
|
|
TimeOfDay? get mealTimeController;
|
|
|
|
|
TextEditingController? get commentController;
|
|
|
|
|
TextEditingController? get productNameController;
|
|
|
|
|
TextEditingController? get productQuantityController;
|
|
|
|
|
TextEditingController? get caloriesController;
|
|
|
|
|
TextEditingController? get fatsController;
|
|
|
|
|
TextEditingController? get proteinsController;
|
|
|
|
|
TextEditingController? get carbsController;
|
|
|
|
|
TextEditingController get commentController;
|
|
|
|
|
TextEditingController get productNameController;
|
|
|
|
|
TextEditingController get productQuantityController;
|
|
|
|
|
TextEditingController get caloriesController;
|
|
|
|
|
TextEditingController get fatsController;
|
|
|
|
|
TextEditingController get proteinsController;
|
|
|
|
|
TextEditingController get carbsController;
|
|
|
|
|
int? get selectedMood;
|
|
|
|
|
int? get selectedSatiety;
|
|
|
|
|
bool get wakeupExpanded;
|
|
|
|
|
@@ -1349,18 +1385,19 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -1387,18 +1424,19 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
@@ -1425,18 +1463,19 @@ class _$DiaryStateErrorImpl implements DiaryStateError {
|
|
|
|
|
List<int> consumedChartValues,
|
|
|
|
|
List<Portion> portions,
|
|
|
|
|
List<Photo> photos,
|
|
|
|
|
List<SelectionPopupModel> portionList,
|
|
|
|
|
Meal currentMeal,
|
|
|
|
|
SelectionPopupModel? portionController,
|
|
|
|
|
SelectionPopupModel portionController,
|
|
|
|
|
TimeOfDay? wakeupController,
|
|
|
|
|
TimeOfDay? retireController,
|
|
|
|
|
TimeOfDay? mealTimeController,
|
|
|
|
|
TextEditingController? commentController,
|
|
|
|
|
TextEditingController? productNameController,
|
|
|
|
|
TextEditingController? productQuantityController,
|
|
|
|
|
TextEditingController? caloriesController,
|
|
|
|
|
TextEditingController? fatsController,
|
|
|
|
|
TextEditingController? proteinsController,
|
|
|
|
|
TextEditingController? carbsController,
|
|
|
|
|
TextEditingController commentController,
|
|
|
|
|
TextEditingController productNameController,
|
|
|
|
|
TextEditingController productQuantityController,
|
|
|
|
|
TextEditingController caloriesController,
|
|
|
|
|
TextEditingController fatsController,
|
|
|
|
|
TextEditingController proteinsController,
|
|
|
|
|
TextEditingController carbsController,
|
|
|
|
|
int? selectedMood,
|
|
|
|
|
int? selectedSatiety,
|
|
|
|
|
bool wakeupExpanded,
|
|
|
|
|
|