Finished client-side calidation

This commit is contained in:
2023-12-27 17:14:20 +03:00
parent fbdbf2545f
commit 72c0d015b3
15 changed files with 208 additions and 64 deletions

View File

@@ -50,7 +50,7 @@ class _AllergiesScreenState extends State<AllergiesScreen> {
child: ClipRRect(
borderRadius: BorderRadius.circular(8.h),
child: LinearProgressIndicator(
value: 0.62,
value: 0.76,
backgroundColor: theme.colorScheme.onPrimary,
valueColor: AlwaysStoppedAnimation<Color>(
appTheme.blueA400)))),

View File

@@ -11,8 +11,7 @@ class AllergiesModel extends Equatable {
AllergiesModel copyWith() {
return AllergiesModel(
userRegistrationSheet:
userRegistrationSheet ?? this.userRegistrationSheet,
userRegistrationSheet: userRegistrationSheet,
);
}