Created a new Profile section, added new styles, made some layouts for user profile screen

This commit is contained in:
2023-12-28 15:10:32 +03:00
parent d2e1bc087e
commit c4b0061f6d
98 changed files with 1471 additions and 35 deletions

View File

@@ -0,0 +1,18 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/profile/my_profile_screen/models/my_profile_model.dart';
part 'my_profile_event.dart';
part 'my_profile_state.dart';
/// A bloc that manages the state of a K0 according to the event that is dispatched to it.
class MyProfileBloc extends Bloc<MyProfileEvent, MyProfileState> {
MyProfileBloc(MyProfileState initialState) : super(initialState) {
on<MyProfileInitialEvent>(_onInitialize);
}
_onInitialize(
MyProfileInitialEvent event,
Emitter<MyProfileState> emit,
) async {}
}

View File

@@ -0,0 +1,16 @@
// ignore_for_file: must_be_immutable
part of 'my_profile_bloc.dart';
/// Abstract class for all events that can be dispatched from the
///K0 widget.
///
/// Events must be immutable and implement the [Equatable] interface.
@immutable
abstract class MyProfileEvent extends Equatable {}
/// Event that is dispatched when the K0 widget is first created.
class MyProfileInitialEvent extends MyProfileEvent {
@override
List<Object?> get props => [];
}

View File

@@ -0,0 +1,20 @@
// ignore_for_file: must_be_immutable
part of 'my_profile_bloc.dart';
/// Represents the state of K0 in the application.
class MyProfileState extends Equatable {
MyProfileState({this.k0ModelObj});
MyProfileModel? k0ModelObj;
@override
List<Object?> get props => [
k0ModelObj,
];
MyProfileState copyWith({MyProfileModel? k0ModelObj}) {
return MyProfileState(
k0ModelObj: k0ModelObj ?? this.k0ModelObj,
);
}
}

View File

@@ -0,0 +1,16 @@
// ignore_for_file: must_be_immutable
import 'package:equatable/equatable.dart';
/// This class defines the variables used in the [k0_page],
/// and is typically used to hold data that is passed between different parts of the application.
class MyProfileModel extends Equatable {
MyProfileModel() {}
MyProfileModel copyWith() {
return MyProfileModel();
}
@override
List<Object?> get props => [];
}

View File

@@ -0,0 +1,833 @@
import 'package:eatvio_app/core/app_export.dart';
import 'package:eatvio_app/widgets/app_bar/appbar_leading_image.dart';
import 'package:eatvio_app/widgets/app_bar/custom_app_bar.dart';
import 'package:eatvio_app/widgets/custom_outlined_button.dart';
import 'package:eatvio_app/widgets/app_bar/appbar_title_circleimage.dart';
import 'package:eatvio_app/widgets/app_bar/appbar_subtitle.dart';
import 'package:flutter/material.dart';
import 'bloc/my_profile_bloc.dart';
class MyProfileScreen extends StatelessWidget {
const MyProfileScreen({Key? key}) : super(key: key);
static Widget builder(BuildContext context) {
return BlocProvider<MyProfileBloc>(
create: (context) =>
MyProfileBloc(MyProfileState())..add(MyProfileInitialEvent()),
child: MyProfileScreen());
}
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
appBar: _buildAppBar(context),
body: Container(
width: double.maxFinite,
padding: EdgeInsets.symmetric(horizontal: 8.h, vertical: 18.v),
child: Column(children: [
_buildMyBlog(context),
SizedBox(height: 15.v),
_buildSettings(context),
SizedBox(height: 30.v),
_buildAreaChart(context),
SizedBox(height: 15.v),
_buildWidget(context),
SizedBox(height: 5.v)
]))));
}
/// Section Widget
PreferredSizeWidget _buildAppBar(BuildContext context) {
return CustomAppBar(
height: 54.v,
leadingWidth: 28.h,
leading: AppbarLeadingImage(
imagePath: ImageConstant.imgArrowLeft,
margin: EdgeInsets.only(left: 15.h, top: 13.v, bottom: 14.v),
onTap: () {
onTapArrowLeft(context);
}),
title: Padding(
padding: EdgeInsets.only(left: 20.h),
child: Row(children: [
AppbarTitleCircleimage(imagePath: ImageConstant.imgEllipse1),
AppbarSubtitle(
text: "Дмитрий Коваль",
margin: EdgeInsets.only(left: 35.h, top: 12.v, bottom: 9.v))
])),
actions: [
AppbarSubtitle(
text: "Выйти",
margin: EdgeInsets.symmetric(horizontal: 16.h, vertical: 17.v))
]);
}
/// Section Widget
Widget _buildMyBlog(BuildContext context) {
return Padding(
padding: EdgeInsets.symmetric(horizontal: 7.h),
child: Row(mainAxisAlignment: MainAxisAlignment.center, children: [
CustomImageView(
imagePath: ImageConstant.imgGrid,
height: 24.adaptSize,
width: 24.adaptSize,
margin: EdgeInsets.symmetric(vertical: 3.v)),
Expanded(
child: CustomOutlinedButton(
text: "Мой блог".toUpperCase(),
margin: EdgeInsets.only(left: 10.h)))
]));
}
/// Section Widget
Widget _buildSettings(BuildContext context) {
return Padding(
padding: EdgeInsets.symmetric(horizontal: 7.h),
child: Row(mainAxisAlignment: MainAxisAlignment.center, children: [
CustomImageView(
imagePath: ImageConstant.imgSearch,
height: 24.adaptSize,
width: 24.adaptSize,
margin: EdgeInsets.symmetric(vertical: 3.v)),
Expanded(
child: CustomOutlinedButton(
text: "Настройки".toUpperCase(),
margin: EdgeInsets.only(left: 10.h)))
]));
}
/// Section Widget
Widget _buildAreaChart(BuildContext context) {
return Padding(
padding: EdgeInsets.only(left: 7.h),
child: Column(children: [
Padding(
padding: EdgeInsets.only(right: 7.h),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("Вес:", style: CustomTextStyles.titleSmallBluegray800),
Row(mainAxisAlignment: MainAxisAlignment.center, children: [
RichText(
text: TextSpan(children: [
TextSpan(
text: "Было:",
style:
CustomTextStyles.bodyMediumBluegray800_1),
TextSpan(
text: " 80",
style: CustomTextStyles
.titleSmallBluegray800ExtraBold)
]),
textAlign: TextAlign.left),
Padding(
padding: EdgeInsets.only(left: 15.h),
child: RichText(
text: TextSpan(children: [
TextSpan(
text: "Стало:",
style: CustomTextStyles
.bodyMediumBluegray800_1),
TextSpan(
text: " 55",
style: CustomTextStyles
.titleSmallBluegray800ExtraBold)
]),
textAlign: TextAlign.left))
])
])),
SizedBox(height: 8.v),
SizedBox(
height: 139.v,
width: 350.h,
child: Stack(alignment: Alignment.centerLeft, children: [
Align(
alignment: Alignment.bottomRight,
child: Text("01.04.21", style: theme.textTheme.bodySmall)),
Align(
alignment: Alignment.centerLeft,
child: Row(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Expanded(
child: Column(
crossAxisAlignment: CrossAxisAlignment.start,
children: [
Row(children: [
_buildLineChart(context,
text100: "100", text50: "50", text0: "0"),
Expanded(
child: Padding(
padding: EdgeInsets.only(
left: 10.h,
top: 6.v,
bottom: 4.v),
child: Column(children: [
SizedBox(
height: 112.v,
width: 304.h,
child: Stack(
alignment:
Alignment.centerLeft,
children: [
Align(
alignment: Alignment
.centerLeft,
child: SizedBox(
height: 112.v,
child:
VerticalDivider(
width:
1.h,
thickness:
1.v))),
Align(
alignment: Alignment
.centerLeft,
child: Padding(
padding: EdgeInsets
.only(
left: 101
.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width:
1.h,
thickness:
1.v)))),
Align(
alignment: Alignment
.centerRight,
child: Padding(
padding: EdgeInsets
.only(
right: 100
.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width:
1.h,
thickness:
1.v)))),
Align(
alignment:
Alignment.center,
child: SizedBox(
width: 304.h,
child:
Divider())),
Align(
alignment: Alignment
.topCenter,
child: SizedBox(
width: 304.h,
child:
Divider())),
CustomImageView(
imagePath:
ImageConstant
.imgArea1,
height: 88.v,
width: 304.h,
alignment: Alignment
.bottomCenter)
])),
Divider()
])))
]),
SizedBox(height: 3.v),
Container(
width: 240.h,
margin:
EdgeInsets.only(left: 8.h, right: 82.h),
child: Row(children: [
Text("01.01.21",
style: theme.textTheme.bodySmall),
Spacer(flex: 49),
Text("01.02.21",
style: theme.textTheme.bodySmall),
Spacer(flex: 50),
Text("01.03.21",
style: theme.textTheme.bodySmall)
]))
])),
SizedBox(
height: 138.v,
child: VerticalDivider(
width: 1.h,
thickness: 1.v,
indent: 6.h,
endIndent: 20.h))
]))
])),
SizedBox(height: 14.v),
Padding(
padding: EdgeInsets.only(right: 7.h),
child:
Row(mainAxisAlignment: MainAxisAlignment.center, children: [
Text("Обхват:", style: CustomTextStyles.titleSmallBluegray800),
Spacer(),
RichText(
text: TextSpan(children: [
TextSpan(
text: "Грудь:",
style: CustomTextStyles.bodyMediumBluegray800_1),
TextSpan(text: " "),
TextSpan(
text: "90", style: CustomTextStyles.titleSmallRed200)
]),
textAlign: TextAlign.left),
Padding(
padding: EdgeInsets.only(left: 15.h),
child: RichText(
text: TextSpan(children: [
TextSpan(
text: "Талия:",
style: CustomTextStyles.bodyMediumBluegray800_1),
TextSpan(text: " "),
TextSpan(
text: "60",
style: CustomTextStyles.titleSmallBlue800)
]),
textAlign: TextAlign.left)),
Padding(
padding: EdgeInsets.only(left: 16.h),
child: RichText(
text: TextSpan(children: [
TextSpan(
text: "Бедра:",
style: CustomTextStyles.bodyMediumBluegray800_1),
TextSpan(text: " "),
TextSpan(
text: "90",
style: CustomTextStyles.titleSmallLightgreen300)
]),
textAlign: TextAlign.left))
])),
SizedBox(height: 6.v),
Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Padding(
padding: EdgeInsets.only(right: 15.h),
child: Row(children: [
_buildLineChart(context,
text100: "100", text50: "50", text0: "0"),
Expanded(
child: Padding(
padding:
EdgeInsets.only(left: 6.h, top: 6.v, bottom: 4.v),
child: Column(children: [
SizedBox(
height: 112.v,
width: 312.h,
child: Stack(
alignment: Alignment.centerLeft,
children: [
Align(
alignment: Alignment.centerLeft,
child: Padding(
padding:
EdgeInsets.only(left: 4.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width: 1.h,
thickness: 1.v)))),
Align(
alignment: Alignment.centerLeft,
child: Padding(
padding:
EdgeInsets.only(left: 80.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width: 1.h,
thickness: 1.v)))),
Align(
alignment: Alignment.center,
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width: 1.h, thickness: 1.v))),
Align(
alignment: Alignment.centerRight,
child: Padding(
padding:
EdgeInsets.only(right: 79.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width: 1.h,
thickness: 1.v)))),
Align(
alignment: Alignment.centerRight,
child: Padding(
padding:
EdgeInsets.only(right: 2.h),
child: SizedBox(
height: 112.v,
child: VerticalDivider(
width: 1.h,
thickness: 1.v)))),
Align(
alignment: Alignment.center,
child: SizedBox(
width: 304.h, child: Divider())),
Align(
alignment: Alignment.topCenter,
child: SizedBox(
width: 304.h, child: Divider())),
Align(
alignment: Alignment.topCenter,
child: Container(
height: 36.v,
width: 304.h,
margin:
EdgeInsets.only(top: 30.v),
child: Stack(
alignment: Alignment.topLeft,
children: [
CustomImageView(
imagePath: ImageConstant
.imgLine1,
height: 36.v,
width: 304.h,
alignment:
Alignment.center),
Align(
alignment:
Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(
left: 72.h,
top: 5.v),
decoration: BoxDecoration(
color: appTheme
.red200,
borderRadius:
BorderRadius
.circular(
4.h))))
]))),
Align(
alignment: Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.teal100,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topCenter,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 26.v),
decoration: BoxDecoration(
color: appTheme.red200,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.bottomRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin: EdgeInsets.only(
right: 76.h, bottom: 41.v),
decoration: BoxDecoration(
color: appTheme.red200,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.teal100,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topCenter,
child: Container(
height: 28.v,
width: 304.h,
margin:
EdgeInsets.only(top: 29.v),
child: Stack(
alignment: Alignment.topLeft,
children: [
CustomImageView(
imagePath: ImageConstant
.imgLine2,
height: 28.v,
width: 304.h,
alignment:
Alignment.center),
Align(
alignment:
Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(
left: 72.h,
top: 9.v),
decoration: BoxDecoration(
color: appTheme
.blue800,
borderRadius:
BorderRadius
.circular(
4.h))))
]))),
Align(
alignment: Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.blue800,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topCenter,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 25.v),
decoration: BoxDecoration(
color: appTheme.blue800,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.centerRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(right: 76.h),
decoration: BoxDecoration(
color: appTheme.blue800,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.blue800,
borderRadius:
BorderRadius.circular(
4.h)))),
CustomImageView(
imagePath: ImageConstant.imgLine3,
height: 12.v,
width: 304.h,
alignment: Alignment.center),
Align(
alignment: Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.lightGreen300,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topLeft,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin: EdgeInsets.only(
left: 76.h, top: 47.v),
decoration: BoxDecoration(
color: appTheme.lightGreen300,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topCenter,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 47.v),
decoration: BoxDecoration(
color: appTheme.lightGreen300,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.bottomRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin: EdgeInsets.only(
right: 76.h, bottom: 46.v),
decoration: BoxDecoration(
color: appTheme.lightGreen300,
borderRadius:
BorderRadius.circular(
4.h)))),
Align(
alignment: Alignment.topRight,
child: Container(
height: 8.adaptSize,
width: 8.adaptSize,
margin:
EdgeInsets.only(top: 46.v),
decoration: BoxDecoration(
color: appTheme.lightGreen300,
borderRadius:
BorderRadius.circular(
4.h))))
])),
Divider(indent: 4.h, endIndent: 4.h)
])))
])),
SizedBox(height: 3.v),
Padding(
padding: EdgeInsets.only(left: 8.h),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Text("01.01.21", style: theme.textTheme.bodySmall),
Text("01.02.21", style: theme.textTheme.bodySmall),
Text("01.03.21", style: theme.textTheme.bodySmall),
Text("01.04.21", style: theme.textTheme.bodySmall),
Text("01.05.21", style: theme.textTheme.bodySmall)
]))
])
]));
}
/// Section Widget
Widget _buildWidget(BuildContext context) {
return Padding(
padding: EdgeInsets.only(left: 7.h),
child: Column(crossAxisAlignment: CrossAxisAlignment.start, children: [
Padding(
padding: EdgeInsets.only(left: 15.h),
child: Text("Пройденные планы:",
style: CustomTextStyles.titleSmallBluegray800)),
SizedBox(height: 3.v),
SizedBox(
height: 95.v,
width: 343.h,
child: Stack(alignment: Alignment.bottomCenter, children: [
Align(
alignment: Alignment.topCenter,
child: SizedBox(
height: 40.v,
width: 343.h,
child:
Stack(alignment: Alignment.bottomRight, children: [
Align(
alignment: Alignment.topCenter,
child: Container(
margin: EdgeInsets.only(bottom: 11.v),
padding: EdgeInsets.symmetric(
horizontal: 6.h, vertical: 4.v),
decoration: AppDecoration.fillGray.copyWith(
borderRadius:
BorderRadiusStyle.roundedBorder5),
child: Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: EdgeInsets.only(
left: 38.h, bottom: 1.v),
child: Text("Лёгкий",
style: CustomTextStyles
.titleSmallBluegray800Bold)),
Container(
height: 19.v,
width: 82.h,
decoration: BoxDecoration(
color: appTheme.greenA700,
borderRadius:
BorderRadius.circular(5.h)))
]))),
Align(
alignment: Alignment.bottomRight,
child: Container(
width: 40.h,
margin: EdgeInsets.only(right: 30.h),
child: Text("Готово",
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: theme.textTheme.titleSmall)))
]))),
Align(
alignment: Alignment.bottomCenter,
child: Container(
height: 40.v,
width: 343.h,
margin: EdgeInsets.only(bottom: 21.v),
child:
Stack(alignment: Alignment.bottomRight, children: [
Align(
alignment: Alignment.topCenter,
child: Container(
margin: EdgeInsets.only(bottom: 11.v),
padding: EdgeInsets.symmetric(
horizontal: 6.h, vertical: 4.v),
decoration: AppDecoration.fillGray.copyWith(
borderRadius:
BorderRadiusStyle.roundedBorder5),
child: Row(
mainAxisAlignment:
MainAxisAlignment.spaceBetween,
children: [
Padding(
padding: EdgeInsets.only(
left: 38.h, top: 1.v),
child: Text("Умеренный",
style: CustomTextStyles
.titleSmallBluegray800Bold)),
Container(
height: 19.v,
width: 82.h,
decoration: BoxDecoration(
color: appTheme.greenA700,
borderRadius:
BorderRadius.circular(5.h)))
]))),
Align(
alignment: Alignment.bottomRight,
child: Container(
width: 40.h,
margin: EdgeInsets.only(right: 30.h),
child: Text("Готово",
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: theme.textTheme.titleSmall)))
]))),
Align(
alignment: Alignment.bottomCenter,
child: Container(
margin: EdgeInsets.only(top: 66.v),
padding: EdgeInsets.symmetric(
horizontal: 6.h, vertical: 4.v),
decoration: AppDecoration.fillGray.copyWith(
borderRadius: BorderRadiusStyle.roundedBorder5),
child: Row(
mainAxisAlignment: MainAxisAlignment.spaceBetween,
children: [
Padding(
padding:
EdgeInsets.only(left: 38.h, bottom: 2.v),
child: Text("Полный",
style: CustomTextStyles
.titleSmallBluegray800Bold)),
SizedBox(
height: 19.v,
width: 94.h,
child: Stack(
alignment: Alignment.bottomCenter,
children: [
Align(
alignment: Alignment.topCenter,
child: Container(
height: 19.v,
width: 94.h,
decoration: BoxDecoration(
color:
appTheme.deepOrange900,
borderRadius:
BorderRadius.circular(
5.h)))),
Align(
alignment: Alignment.bottomCenter,
child: Text("В процессе",
style:
theme.textTheme.titleSmall))
]))
]))),
Align(
alignment: Alignment.center,
child: Container(
padding: EdgeInsets.symmetric(
horizontal: 5.h, vertical: 2.v),
decoration: AppDecoration.outlineBlueGray.copyWith(
borderRadius: BorderRadiusStyle.roundedBorder5),
child: Column(
mainAxisSize: MainAxisSize.min,
crossAxisAlignment: CrossAxisAlignment.start,
children: [
CustomImageView(
imagePath: ImageConstant.imgEllipse125x25,
height: 25.adaptSize,
width: 25.adaptSize,
radius: BorderRadius.circular(12.h)),
SizedBox(height: 8.v),
CustomImageView(
imagePath: ImageConstant.imgEllipse2,
height: 25.adaptSize,
width: 25.adaptSize,
radius: BorderRadius.circular(12.h)),
SizedBox(height: 8.v),
CustomImageView(
imagePath: ImageConstant.imgEllipse3,
height: 25.adaptSize,
width: 25.adaptSize,
radius: BorderRadius.circular(12.h))
])))
]))
]));
}
/// Common widget
Widget _buildLineChart(
BuildContext context, {
required String text100,
required String text50,
required String text0,
}) {
return Column(crossAxisAlignment: CrossAxisAlignment.end, children: [
Text(text100,
style: theme.textTheme.bodySmall!.copyWith(color: appTheme.gray500)),
SizedBox(height: 44.v),
Text(text50,
style: theme.textTheme.bodySmall!.copyWith(color: appTheme.gray500)),
SizedBox(height: 44.v),
Text(text0,
style: theme.textTheme.bodySmall!.copyWith(color: appTheme.gray500))
]);
}
/// Navigates back to the previous screen.
onTapArrowLeft(BuildContext context) {
Navigator.pop(context);
}
}

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/additional_information_screen/models/additional_information_model.dart';
import 'package:eatvio_app/presentation/registration/additional_information_screen/models/additional_information_model.dart';
part 'additional_information_event.dart';
part 'additional_information_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/allergies_screen/models/allergies_model.dart';
import 'package:eatvio_app/presentation/registration/allergies_screen/models/allergies_model.dart';
part 'allergies_event.dart';
part 'allergies_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/app_navigation_screen/models/app_navigation_model.dart';
import 'package:eatvio_app/presentation/registration/app_navigation_screen/models/app_navigation_model.dart';
part 'app_navigation_event.dart';
part 'app_navigation_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/blood_pressure_screen/models/blood_pressure_model.dart';
import 'package:eatvio_app/presentation/registration/blood_pressure_screen/models/blood_pressure_model.dart';
part 'blood_pressure_event.dart';
part 'blood_pressure_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/body_circumferences_screen/models/body_circumferences_model.dart';
import 'package:eatvio_app/presentation/registration/body_circumferences_screen/models/body_circumferences_model.dart';
part 'body_circumferences_event.dart';
part 'body_circumferences_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/city_of_living_screen/models/city_of_living_model.dart';
import 'package:eatvio_app/presentation/registration/city_of_living_screen/models/city_of_living_model.dart';
part 'city_of_living_event.dart';
part 'city_of_living_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/credentials_screen/models/credentials_model.dart';
import 'package:eatvio_app/presentation/registration/credentials_screen/models/credentials_model.dart';
part 'credentials_event.dart';
part 'credentials_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/date_of_birth_screen/models/date_of_birth_model.dart';
import 'package:eatvio_app/presentation/registration/date_of_birth_screen/models/date_of_birth_model.dart';
part 'date_of_birth_event.dart';
part 'date_of_birth_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/favorite_foods_screen/models/favorite_foods_model.dart';
import 'package:eatvio_app/presentation/registration/favorite_foods_screen/models/favorite_foods_model.dart';
part 'favorite_foods_event.dart';
part 'favorite_foods_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/favorite_sports_screen/models/favorite_sports_model.dart';
import 'package:eatvio_app/presentation/registration/favorite_sports_screen/models/favorite_sports_model.dart';
part 'favorite_sports_event.dart';
part 'favorite_sports_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/gender_screen/models/gender_model.dart';
import 'package:eatvio_app/presentation/registration/gender_screen/models/gender_model.dart';
part 'gender_event.dart';
part 'gender_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/height_screen/models/height_model.dart';
import 'package:eatvio_app/presentation/registration/height_screen/models/height_model.dart';
part 'height_event.dart';
part 'height_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/language_select_screen/models/language_select_model.dart';
import 'package:eatvio_app/presentation/registration/language_select_screen/models/language_select_model.dart';
part 'language_select_event.dart';
part 'language_select_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/medicine_intake_screen/models/medicine_intake_model.dart';
import 'package:eatvio_app/presentation/registration/medicine_intake_screen/models/medicine_intake_model.dart';
part 'medicine_intake_event.dart';
part 'medicine_intake_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/name_screen/models/name_model.dart';
import 'package:eatvio_app/presentation/registration/name_screen/models/name_model.dart';
part 'name_event.dart';
part 'name_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/splash_screen/models/splash_model.dart';
import 'package:eatvio_app/presentation/registration/splash_screen/models/splash_model.dart';
part 'splash_event.dart';
part 'splash_state.dart';

View File

@@ -1,7 +1,7 @@
import 'package:equatable/equatable.dart';
import 'package:flutter/material.dart';
import '/core/app_export.dart';
import 'package:eatvio_app/presentation/weight_screen/models/weight_model.dart';
import 'package:eatvio_app/presentation/registration/weight_screen/models/weight_model.dart';
part 'weight_event.dart';
part 'weight_state.dart';