This commit is contained in:
zhutao
2025-09-01 10:18:39 +08:00
parent 9d13aa13e2
commit c175a979a5
26 changed files with 10 additions and 10 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 15 KiB

After

Width:  |  Height:  |  Size: 95 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 60 KiB

After

Width:  |  Height:  |  Size: 165 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.7 KiB

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.2 KiB

After

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.5 KiB

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.2 KiB

After

Width:  |  Height:  |  Size: 7.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 14 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.4 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.7 KiB

After

Width:  |  Height:  |  Size: 8.8 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 8.2 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 10 KiB

After

Width:  |  Height:  |  Size: 12 KiB

View File

@@ -10,7 +10,7 @@ class HomeHeader extends StatelessWidget {
child: Column( child: Column(
children: [ children: [
Text( Text(
"Food Safety Scanner", "Food Safety Check",
style: Theme.of(context).textTheme.titleLarge, style: Theme.of(context).textTheme.titleLarge,
), ),
Container( Container(

View File

@@ -150,7 +150,7 @@ class _UploadPanelState extends State<UploadPanel> {
), ),
), ),
Text( Text(
"Supports JPG, PNG, HEIC formats Max 10MB", "Supports JPG, PNG, and HElC formats · Max 10MB",
style: Theme.of(context).textTheme.labelSmall, style: Theme.of(context).textTheme.labelSmall,
textAlign: TextAlign.center, textAlign: TextAlign.center,
), ),

View File

@@ -36,7 +36,7 @@ class _MyEditPageState extends State<MyEditPage> {
StepItem( StepItem(
title: "Food Allergies", title: "Food Allergies",
icon: RemixIcons.shield_line, icon: RemixIcons.shield_line,
subTitle: "Help us keep you safe by telling us about your allergies", subTitle: "Tell us about your allergies so we can help keep you safe",
), ),
StepItem( StepItem(
title: "Dietary Preferences", title: "Dietary Preferences",
@@ -175,7 +175,7 @@ class _MyEditPageState extends State<MyEditPage> {
Container( Container(
margin: EdgeInsets.only(top: 5), margin: EdgeInsets.only(top: 5),
child: Text( child: Text(
"Let's personalize your food safety experience", "Let's customize your food safety experience",
style: Theme.of(context).textTheme.labelMedium, style: Theme.of(context).textTheme.labelMedium,
), ),
), ),

View File

@@ -75,7 +75,7 @@ class _FoodAllergiesState extends State<FoodAllergies> {
decoration: InputDecoration( decoration: InputDecoration(
isCollapsed: true, isCollapsed: true,
contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16), contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16),
hintText: "Add custom allergy...", hintText: "Add a custom allergy...",
filled: true, filled: true,
fillColor: Theme.of(context).colorScheme.surfaceContainerLow, fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(

View File

@@ -83,7 +83,7 @@ class _HealthProfileState extends State<HealthProfile> {
decoration: InputDecoration( decoration: InputDecoration(
isCollapsed: true, isCollapsed: true,
contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16), contentPadding: EdgeInsets.symmetric(vertical: 8, horizontal: 16),
hintText: "Add medication...", hintText: "Add a custom allergy...",
filled: true, filled: true,
fillColor: Theme.of(context).colorScheme.surfaceContainerLow, fillColor: Theme.of(context).colorScheme.surfaceContainerLow,
enabledBorder: OutlineInputBorder( enabledBorder: OutlineInputBorder(

View File

@@ -88,7 +88,7 @@ class _MyPageState extends State<MyPage> with AutomaticKeepAliveClientMixin {
color: Theme.of(context).colorScheme.danger, color: Theme.of(context).colorScheme.danger,
), ),
child: buildTagList( child: buildTagList(
emptyText: "No food allergies reported", emptyText: "No allergies reported",
tags: _userProfile.foodAllergiesList, tags: _userProfile.foodAllergiesList,
color: Theme.of(context).colorScheme.danger, color: Theme.of(context).colorScheme.danger,
), ),

View File

@@ -39,7 +39,7 @@ class PageHeader extends StatelessWidget {
style: TextStyle(fontWeight: FontWeight.w700), style: TextStyle(fontWeight: FontWeight.w700),
), ),
Text( Text(
"Enter your email to sign up for this app", "Use your email to get started",
style: Theme.of(context).textTheme.bodySmall, style: Theme.of(context).textTheme.bodySmall,
), ),
], ],

View File

@@ -25,7 +25,7 @@ class _AppHeaderState extends State<AppHeader> {
crossAxisAlignment: CrossAxisAlignment.start, crossAxisAlignment: CrossAxisAlignment.start,
children: [ children: [
Text( Text(
"FoodSafe", "FoodCura",
style: TextStyle(fontWeight: FontWeight.bold), style: TextStyle(fontWeight: FontWeight.bold),
), ),
Text( Text(

View File

@@ -2,7 +2,7 @@ name: food_health
description: "A new Flutter project." description: "A new Flutter project."
publish_to: 'none' # Remove this line if you wish to publish to pub.dev publish_to: 'none' # Remove this line if you wish to publish to pub.dev
version: 1.0.0 version: 1.0.1
environment: environment:
sdk: ^3.8.1 sdk: ^3.8.1