diff --git a/assets/fruitsVeges/download-Copy.svg b/assets/fruitsVeges/download-Copy.svg new file mode 100644 index 0000000..8da1dbf --- /dev/null +++ b/assets/fruitsVeges/download-Copy.svg @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + diff --git a/assets/fruitsVeges/download.jpeg b/assets/fruitsVeges/download.jpeg new file mode 100644 index 0000000..2373eb1 Binary files /dev/null and b/assets/fruitsVeges/download.jpeg differ diff --git a/assets/fruitsVeges/onion.png b/assets/fruitsVeges/onion.png deleted file mode 100644 index 02cec90..0000000 Binary files a/assets/fruitsVeges/onion.png and /dev/null differ diff --git a/assets/fruitsVeges/onion.svg b/assets/fruitsVeges/onion.svg new file mode 100644 index 0000000..5adbcd1 --- /dev/null +++ b/assets/fruitsVeges/onion.svg @@ -0,0 +1,39 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/assets/fruitsVeges/strawberry.png b/assets/fruitsVeges/strawberry.png deleted file mode 100644 index 24ebef7..0000000 Binary files a/assets/fruitsVeges/strawberry.png and /dev/null differ diff --git a/assets/fruitsVeges/strawberry.svg b/assets/fruitsVeges/strawberry.svg new file mode 100644 index 0000000..3e914c6 --- /dev/null +++ b/assets/fruitsVeges/strawberry.svg @@ -0,0 +1,929 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/lib/pages/favorite.dart b/lib/pages/favorite.dart index 0fd8d32..97f8637 100644 --- a/lib/pages/favorite.dart +++ b/lib/pages/favorite.dart @@ -48,11 +48,11 @@ class _FavoritePageState extends State { Provider.of(context, listen: false); List selectItem = provider.selectedItemList; return (provider.selectedItemList.isEmpty && !provider.drawingBoard) - ? Center( + ? const Center( child: Text("No Favorite Items"), ) : _isLoading - ? Center(child: CircularProgressIndicator()) + ? const Center(child: CircularProgressIndicator()) : Scaffold( appBar: AppBar( title: const Text( diff --git a/lib/pages/home.dart b/lib/pages/home.dart index 921d1c1..83ed9be 100644 --- a/lib/pages/home.dart +++ b/lib/pages/home.dart @@ -64,7 +64,7 @@ class _MyHomePageState extends State { categoryCard( context: context, title: "NUMBERS", // Added this block for "NUMBERS" - image: 'assets/numbers/numbers.jpg', + image: 'assets/images/numbers/numbers.jpg', shortDescription: "Learn numbers and their pronunciations.", route: AllRoutesConstant.numberRoute, index: 7, diff --git a/lib/pages/main_home.dart b/lib/pages/main_home.dart index 512a7f7..3771dfc 100644 --- a/lib/pages/main_home.dart +++ b/lib/pages/main_home.dart @@ -8,7 +8,6 @@ import 'package:learn/pages/explore/explore.dart'; import 'package:learn/pages/favorite.dart'; import 'package:learn/pages/home.dart'; import 'package:learn/widgets/navbar/navbar.dart'; -import 'package:adaptive_theme/adaptive_theme.dart'; class MainHome extends StatefulWidget { final AdaptiveThemeMode? savedThemeMode; diff --git a/lib/pages/modules/parts_test.dart b/lib/pages/modules/parts_test.dart index a59824c..93e0bb6 100644 --- a/lib/pages/modules/parts_test.dart +++ b/lib/pages/modules/parts_test.dart @@ -26,7 +26,7 @@ class _PartsTestPageState extends State { List allQuestions = [ // Define all PartQuestion objects here PartQuestion( - imageAsset: 'assets/images/body/arm.svg', + imageAsset: 'assets/images/body/Arm.svg', options: ['Ankle', 'Back', 'Arm', 'Belly'], correctAnswer: 'Arm', ), diff --git a/lib/utils/constants.dart b/lib/utils/constants.dart index 9f0eb64..74ea8b1 100644 --- a/lib/utils/constants.dart +++ b/lib/utils/constants.dart @@ -1036,7 +1036,7 @@ class AppConstants { ), Fruit( name: 'Strawberry', - svgAsset: 'assets/fruitsVeges/strawberry.svg', + svgAsset: 'assets/fruitsVeges/download-Copy.svg', backgroundColor: Colors.white, isfruit: true, ),