diff --git a/assets/images/alphabets.jpg b/assets/images/alphabet/alphabets.jpg
similarity index 100%
rename from assets/images/alphabets.jpg
rename to assets/images/alphabet/alphabets.jpg
diff --git a/assets/images/apple.svg b/assets/images/alphabet/apple.svg
similarity index 100%
rename from assets/images/apple.svg
rename to assets/images/alphabet/apple.svg
diff --git a/assets/images/ball.svg b/assets/images/alphabet/ball.svg
similarity index 100%
rename from assets/images/ball.svg
rename to assets/images/alphabet/ball.svg
diff --git a/assets/images/cat.svg b/assets/images/alphabet/cat.svg
similarity index 100%
rename from assets/images/cat.svg
rename to assets/images/alphabet/cat.svg
diff --git a/assets/images/dog.svg b/assets/images/alphabet/dog.svg
similarity index 100%
rename from assets/images/dog.svg
rename to assets/images/alphabet/dog.svg
diff --git a/assets/images/elephant.svg b/assets/images/alphabet/elephant.svg
similarity index 100%
rename from assets/images/elephant.svg
rename to assets/images/alphabet/elephant.svg
diff --git a/assets/images/fish.svg b/assets/images/alphabet/fish.svg
similarity index 100%
rename from assets/images/fish.svg
rename to assets/images/alphabet/fish.svg
diff --git a/assets/images/grapes.svg b/assets/images/alphabet/grapes.svg
similarity index 100%
rename from assets/images/grapes.svg
rename to assets/images/alphabet/grapes.svg
diff --git a/assets/images/horse.svg b/assets/images/alphabet/horse.svg
similarity index 100%
rename from assets/images/horse.svg
rename to assets/images/alphabet/horse.svg
diff --git a/assets/images/icecream.svg b/assets/images/alphabet/icecream.svg
similarity index 100%
rename from assets/images/icecream.svg
rename to assets/images/alphabet/icecream.svg
diff --git a/assets/images/joker.svg b/assets/images/alphabet/joker.svg
similarity index 100%
rename from assets/images/joker.svg
rename to assets/images/alphabet/joker.svg
diff --git a/assets/images/king.svg b/assets/images/alphabet/king.svg
similarity index 100%
rename from assets/images/king.svg
rename to assets/images/alphabet/king.svg
diff --git a/assets/images/lion.svg b/assets/images/alphabet/lion.svg
similarity index 100%
rename from assets/images/lion.svg
rename to assets/images/alphabet/lion.svg
diff --git a/assets/images/money.svg b/assets/images/alphabet/money.svg
similarity index 100%
rename from assets/images/money.svg
rename to assets/images/alphabet/money.svg
diff --git a/assets/images/nest.svg b/assets/images/alphabet/nest.svg
similarity index 100%
rename from assets/images/nest.svg
rename to assets/images/alphabet/nest.svg
diff --git a/assets/images/orange.svg b/assets/images/alphabet/orange.svg
similarity index 100%
rename from assets/images/orange.svg
rename to assets/images/alphabet/orange.svg
diff --git a/assets/images/parrot.svg b/assets/images/alphabet/parrot.svg
similarity index 100%
rename from assets/images/parrot.svg
rename to assets/images/alphabet/parrot.svg
diff --git a/assets/images/queen.svg b/assets/images/alphabet/queen.svg
similarity index 100%
rename from assets/images/queen.svg
rename to assets/images/alphabet/queen.svg
diff --git a/assets/images/rabbit.svg b/assets/images/alphabet/rabbit.svg
similarity index 100%
rename from assets/images/rabbit.svg
rename to assets/images/alphabet/rabbit.svg
diff --git a/assets/images/shiva.svg b/assets/images/alphabet/shiva.svg
similarity index 100%
rename from assets/images/shiva.svg
rename to assets/images/alphabet/shiva.svg
diff --git a/assets/images/table.svg b/assets/images/alphabet/table.svg
similarity index 100%
rename from assets/images/table.svg
rename to assets/images/alphabet/table.svg
diff --git a/assets/images/umbrella.svg b/assets/images/alphabet/umbrella.svg
similarity index 100%
rename from assets/images/umbrella.svg
rename to assets/images/alphabet/umbrella.svg
diff --git a/assets/images/van.svg b/assets/images/alphabet/van.svg
similarity index 100%
rename from assets/images/van.svg
rename to assets/images/alphabet/van.svg
diff --git a/assets/images/window.svg b/assets/images/alphabet/window.svg
similarity index 100%
rename from assets/images/window.svg
rename to assets/images/alphabet/window.svg
diff --git a/assets/images/xerox.svg b/assets/images/alphabet/xerox.svg
similarity index 100%
rename from assets/images/xerox.svg
rename to assets/images/alphabet/xerox.svg
diff --git a/assets/images/yellow.svg b/assets/images/alphabet/yellow.svg
similarity index 100%
rename from assets/images/yellow.svg
rename to assets/images/alphabet/yellow.svg
diff --git a/assets/images/zero.svg b/assets/images/alphabet/zero.svg
similarity index 100%
rename from assets/images/zero.svg
rename to assets/images/alphabet/zero.svg
diff --git a/assets/images/animals.jpg b/assets/images/animal/animals.jpg
similarity index 100%
rename from assets/images/animals.jpg
rename to assets/images/animal/animals.jpg
diff --git a/assets/images/bear.svg b/assets/images/animal/bear.svg
similarity index 100%
rename from assets/images/bear.svg
rename to assets/images/animal/bear.svg
diff --git a/assets/images/animal/cat.svg b/assets/images/animal/cat.svg
new file mode 100644
index 0000000..9ab7ef6
--- /dev/null
+++ b/assets/images/animal/cat.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/cow.svg b/assets/images/animal/cow.svg
similarity index 100%
rename from assets/images/cow.svg
rename to assets/images/animal/cow.svg
diff --git a/assets/images/deer.svg b/assets/images/animal/deer.svg
similarity index 100%
rename from assets/images/deer.svg
rename to assets/images/animal/deer.svg
diff --git a/assets/images/animal/dog.svg b/assets/images/animal/dog.svg
new file mode 100644
index 0000000..8806500
--- /dev/null
+++ b/assets/images/animal/dog.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/animal/elephant.svg b/assets/images/animal/elephant.svg
new file mode 100644
index 0000000..e3edbcd
--- /dev/null
+++ b/assets/images/animal/elephant.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/fox.svg b/assets/images/animal/fox.svg
similarity index 100%
rename from assets/images/fox.svg
rename to assets/images/animal/fox.svg
diff --git a/assets/images/giraffe.svg b/assets/images/animal/giraffe.svg
similarity index 100%
rename from assets/images/giraffe.svg
rename to assets/images/animal/giraffe.svg
diff --git a/assets/images/goat.svg b/assets/images/animal/goat.svg
similarity index 100%
rename from assets/images/goat.svg
rename to assets/images/animal/goat.svg
diff --git a/assets/images/animal/horse.svg b/assets/images/animal/horse.svg
new file mode 100644
index 0000000..7571e1f
--- /dev/null
+++ b/assets/images/animal/horse.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/kangaroo.svg b/assets/images/animal/kangaroo.svg
similarity index 100%
rename from assets/images/kangaroo.svg
rename to assets/images/animal/kangaroo.svg
diff --git a/assets/images/animal/lion.svg b/assets/images/animal/lion.svg
new file mode 100644
index 0000000..3fbbd6f
--- /dev/null
+++ b/assets/images/animal/lion.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/monkey.svg b/assets/images/animal/monkey.svg
similarity index 100%
rename from assets/images/monkey.svg
rename to assets/images/animal/monkey.svg
diff --git a/assets/images/pig.svg b/assets/images/animal/pig.svg
similarity index 100%
rename from assets/images/pig.svg
rename to assets/images/animal/pig.svg
diff --git a/assets/images/animal/rabbit.svg b/assets/images/animal/rabbit.svg
new file mode 100644
index 0000000..34b491f
--- /dev/null
+++ b/assets/images/animal/rabbit.svg
@@ -0,0 +1,2 @@
+
+
\ No newline at end of file
diff --git a/assets/images/sheep.svg b/assets/images/animal/sheep.svg
similarity index 100%
rename from assets/images/sheep.svg
rename to assets/images/animal/sheep.svg
diff --git a/assets/images/snake.svg b/assets/images/animal/snake.svg
similarity index 100%
rename from assets/images/snake.svg
rename to assets/images/animal/snake.svg
diff --git a/assets/images/squirrel.svg b/assets/images/animal/squirrel.svg
similarity index 100%
rename from assets/images/squirrel.svg
rename to assets/images/animal/squirrel.svg
diff --git a/assets/images/tiger.svg b/assets/images/animal/tiger.svg
similarity index 100%
rename from assets/images/tiger.svg
rename to assets/images/animal/tiger.svg
diff --git a/assets/images/zebra.svg b/assets/images/animal/zebra.svg
similarity index 100%
rename from assets/images/zebra.svg
rename to assets/images/animal/zebra.svg
diff --git a/assets/birds/Bagula.svg b/assets/images/birds/Bagula.svg
similarity index 100%
rename from assets/birds/Bagula.svg
rename to assets/images/birds/Bagula.svg
diff --git a/assets/birds/Baya.svg b/assets/images/birds/Baya.svg
similarity index 100%
rename from assets/birds/Baya.svg
rename to assets/images/birds/Baya.svg
diff --git a/assets/birds/Bulbul.svg b/assets/images/birds/Bulbul.svg
similarity index 100%
rename from assets/birds/Bulbul.svg
rename to assets/images/birds/Bulbul.svg
diff --git a/assets/birds/Crow.svg b/assets/images/birds/Crow.svg
similarity index 100%
rename from assets/birds/Crow.svg
rename to assets/images/birds/Crow.svg
diff --git a/assets/birds/Duck.svg b/assets/images/birds/Duck.svg
similarity index 100%
rename from assets/birds/Duck.svg
rename to assets/images/birds/Duck.svg
diff --git a/assets/birds/Eagle.svg b/assets/images/birds/Eagle.svg
similarity index 100%
rename from assets/birds/Eagle.svg
rename to assets/images/birds/Eagle.svg
diff --git a/assets/birds/Goose.svg b/assets/images/birds/Goose.svg
similarity index 100%
rename from assets/birds/Goose.svg
rename to assets/images/birds/Goose.svg
diff --git a/assets/birds/Hen.svg b/assets/images/birds/Hen.svg
similarity index 100%
rename from assets/birds/Hen.svg
rename to assets/images/birds/Hen.svg
diff --git a/assets/birds/Hummingbird.svg b/assets/images/birds/Hummingbird.svg
similarity index 100%
rename from assets/birds/Hummingbird.svg
rename to assets/images/birds/Hummingbird.svg
diff --git a/assets/birds/Kingfisher.svg b/assets/images/birds/Kingfisher.svg
similarity index 100%
rename from assets/birds/Kingfisher.svg
rename to assets/images/birds/Kingfisher.svg
diff --git a/assets/birds/Koel.svg b/assets/images/birds/Koel.svg
similarity index 100%
rename from assets/birds/Koel.svg
rename to assets/images/birds/Koel.svg
diff --git a/assets/birds/Maina.svg b/assets/images/birds/Maina.svg
similarity index 100%
rename from assets/birds/Maina.svg
rename to assets/images/birds/Maina.svg
diff --git a/assets/birds/Ostrich.svg b/assets/images/birds/Ostrich.svg
similarity index 100%
rename from assets/birds/Ostrich.svg
rename to assets/images/birds/Ostrich.svg
diff --git a/assets/birds/Owl.svg b/assets/images/birds/Owl.svg
similarity index 100%
rename from assets/birds/Owl.svg
rename to assets/images/birds/Owl.svg
diff --git a/assets/birds/Parrot.svg b/assets/images/birds/Parrot.svg
similarity index 100%
rename from assets/birds/Parrot.svg
rename to assets/images/birds/Parrot.svg
diff --git a/assets/birds/Pigeon.svg b/assets/images/birds/Pigeon.svg
similarity index 100%
rename from assets/birds/Pigeon.svg
rename to assets/images/birds/Pigeon.svg
diff --git a/assets/birds/Robin.svg b/assets/images/birds/Robin.svg
similarity index 100%
rename from assets/birds/Robin.svg
rename to assets/images/birds/Robin.svg
diff --git a/assets/birds/Seagull.svg b/assets/images/birds/Seagull.svg
similarity index 100%
rename from assets/birds/Seagull.svg
rename to assets/images/birds/Seagull.svg
diff --git a/assets/birds/Sparrow.svg b/assets/images/birds/Sparrow.svg
similarity index 100%
rename from assets/birds/Sparrow.svg
rename to assets/images/birds/Sparrow.svg
diff --git a/assets/birds/Swan.svg b/assets/images/birds/Swan.svg
similarity index 100%
rename from assets/birds/Swan.svg
rename to assets/images/birds/Swan.svg
diff --git a/assets/birds/Vulture.svg b/assets/images/birds/Vulture.svg
similarity index 100%
rename from assets/birds/Vulture.svg
rename to assets/images/birds/Vulture.svg
diff --git a/assets/birds/Woodpecker.svg b/assets/images/birds/Woodpecker.svg
similarity index 100%
rename from assets/birds/Woodpecker.svg
rename to assets/images/birds/Woodpecker.svg
diff --git a/assets/images/birds.jpg b/assets/images/birds/birds.jpg
similarity index 100%
rename from assets/images/birds.jpg
rename to assets/images/birds/birds.jpg
diff --git a/assets/images/black.svg b/assets/images/black.svg
deleted file mode 100644
index f5f9d4a..0000000
--- a/assets/images/black.svg
+++ /dev/null
@@ -1,254 +0,0 @@
-
-
diff --git a/assets/images/blue.svg b/assets/images/blue.svg
deleted file mode 100644
index 529932e..0000000
--- a/assets/images/blue.svg
+++ /dev/null
@@ -1,112 +0,0 @@
-
-
diff --git a/assets/body/Ankle.svg b/assets/images/body/Ankle.svg
similarity index 100%
rename from assets/body/Ankle.svg
rename to assets/images/body/Ankle.svg
diff --git a/assets/body/Arm.svg b/assets/images/body/Arm.svg
similarity index 100%
rename from assets/body/Arm.svg
rename to assets/images/body/Arm.svg
diff --git a/assets/body/Back.svg b/assets/images/body/Back.svg
similarity index 100%
rename from assets/body/Back.svg
rename to assets/images/body/Back.svg
diff --git a/assets/body/Belly.svg b/assets/images/body/Belly.svg
similarity index 100%
rename from assets/body/Belly.svg
rename to assets/images/body/Belly.svg
diff --git a/assets/body/Cheek.svg b/assets/images/body/Cheek.svg
similarity index 100%
rename from assets/body/Cheek.svg
rename to assets/images/body/Cheek.svg
diff --git a/assets/body/Chest.svg b/assets/images/body/Chest.svg
similarity index 100%
rename from assets/body/Chest.svg
rename to assets/images/body/Chest.svg
diff --git a/assets/body/Chin.svg b/assets/images/body/Chin.svg
similarity index 100%
rename from assets/body/Chin.svg
rename to assets/images/body/Chin.svg
diff --git a/assets/body/Ear.svg b/assets/images/body/Ear.svg
similarity index 100%
rename from assets/body/Ear.svg
rename to assets/images/body/Ear.svg
diff --git a/assets/body/Elbow.svg b/assets/images/body/Elbow.svg
similarity index 100%
rename from assets/body/Elbow.svg
rename to assets/images/body/Elbow.svg
diff --git a/assets/body/Eye.svg b/assets/images/body/Eye.svg
similarity index 100%
rename from assets/body/Eye.svg
rename to assets/images/body/Eye.svg
diff --git a/assets/body/Fingers.svg b/assets/images/body/Fingers.svg
similarity index 100%
rename from assets/body/Fingers.svg
rename to assets/images/body/Fingers.svg
diff --git a/assets/body/Foot.svg b/assets/images/body/Foot.svg
similarity index 100%
rename from assets/body/Foot.svg
rename to assets/images/body/Foot.svg
diff --git a/assets/body/Hair.svg b/assets/images/body/Hair.svg
similarity index 100%
rename from assets/body/Hair.svg
rename to assets/images/body/Hair.svg
diff --git a/assets/body/Hips.svg b/assets/images/body/Hips.svg
similarity index 100%
rename from assets/body/Hips.svg
rename to assets/images/body/Hips.svg
diff --git a/assets/body/Knee.svg b/assets/images/body/Knee.svg
similarity index 100%
rename from assets/body/Knee.svg
rename to assets/images/body/Knee.svg
diff --git a/assets/body/Leg.svg b/assets/images/body/Leg.svg
similarity index 100%
rename from assets/body/Leg.svg
rename to assets/images/body/Leg.svg
diff --git a/assets/body/Lips.svg b/assets/images/body/Lips.svg
similarity index 100%
rename from assets/body/Lips.svg
rename to assets/images/body/Lips.svg
diff --git a/assets/body/Nail.svg b/assets/images/body/Nail.svg
similarity index 100%
rename from assets/body/Nail.svg
rename to assets/images/body/Nail.svg
diff --git a/assets/body/Neck.svg b/assets/images/body/Neck.svg
similarity index 100%
rename from assets/body/Neck.svg
rename to assets/images/body/Neck.svg
diff --git a/assets/body/Nose.svg b/assets/images/body/Nose.svg
similarity index 100%
rename from assets/body/Nose.svg
rename to assets/images/body/Nose.svg
diff --git a/assets/body/Palm.svg b/assets/images/body/Palm.svg
similarity index 100%
rename from assets/body/Palm.svg
rename to assets/images/body/Palm.svg
diff --git a/assets/body/Shoulder.svg b/assets/images/body/Shoulder.svg
similarity index 100%
rename from assets/body/Shoulder.svg
rename to assets/images/body/Shoulder.svg
diff --git a/assets/body/Stomach.svg b/assets/images/body/Stomach.svg
similarity index 100%
rename from assets/body/Stomach.svg
rename to assets/images/body/Stomach.svg
diff --git a/assets/body/Teeth.svg b/assets/images/body/Teeth.svg
similarity index 100%
rename from assets/body/Teeth.svg
rename to assets/images/body/Teeth.svg
diff --git a/assets/body/Thigh.svg b/assets/images/body/Thigh.svg
similarity index 100%
rename from assets/body/Thigh.svg
rename to assets/images/body/Thigh.svg
diff --git a/assets/body/Thumb.svg b/assets/images/body/Thumb.svg
similarity index 100%
rename from assets/body/Thumb.svg
rename to assets/images/body/Thumb.svg
diff --git a/assets/body/Toe.svg b/assets/images/body/Toe.svg
similarity index 100%
rename from assets/body/Toe.svg
rename to assets/images/body/Toe.svg
diff --git a/assets/body/Tongue.svg b/assets/images/body/Tongue.svg
similarity index 100%
rename from assets/body/Tongue.svg
rename to assets/images/body/Tongue.svg
diff --git a/assets/body/Waist.svg b/assets/images/body/Waist.svg
similarity index 100%
rename from assets/body/Waist.svg
rename to assets/images/body/Waist.svg
diff --git a/assets/body/Wrist.svg b/assets/images/body/Wrist.svg
similarity index 100%
rename from assets/body/Wrist.svg
rename to assets/images/body/Wrist.svg
diff --git a/assets/body/body.jpg b/assets/images/body/body.jpg
similarity index 100%
rename from assets/body/body.jpg
rename to assets/images/body/body.jpg
diff --git a/assets/images/brown.svg b/assets/images/brown.svg
deleted file mode 100644
index f6f189a..0000000
--- a/assets/images/brown.svg
+++ /dev/null
@@ -1,181 +0,0 @@
-
-
diff --git a/assets/images/green.svg b/assets/images/green.svg
deleted file mode 100644
index d170d27..0000000
--- a/assets/images/green.svg
+++ /dev/null
@@ -1,469 +0,0 @@
-
-
diff --git a/assets/images/pink.svg b/assets/images/pink.svg
deleted file mode 100644
index ca2e4f8..0000000
--- a/assets/images/pink.svg
+++ /dev/null
@@ -1,79 +0,0 @@
-
-
diff --git a/assets/images/red.svg b/assets/images/red.svg
deleted file mode 100644
index 17ca94c..0000000
--- a/assets/images/red.svg
+++ /dev/null
@@ -1,136 +0,0 @@
-
-
diff --git a/assets/solar/earth.svg b/assets/images/solar/earth.svg
similarity index 100%
rename from assets/solar/earth.svg
rename to assets/images/solar/earth.svg
diff --git a/assets/solar/jupiter.svg b/assets/images/solar/jupiter.svg
similarity index 100%
rename from assets/solar/jupiter.svg
rename to assets/images/solar/jupiter.svg
diff --git a/assets/solar/mars.svg b/assets/images/solar/mars.svg
similarity index 100%
rename from assets/solar/mars.svg
rename to assets/images/solar/mars.svg
diff --git a/assets/solar/mercury.svg b/assets/images/solar/mercury.svg
similarity index 100%
rename from assets/solar/mercury.svg
rename to assets/images/solar/mercury.svg
diff --git a/assets/solar/neptune.svg b/assets/images/solar/neptune.svg
similarity index 100%
rename from assets/solar/neptune.svg
rename to assets/images/solar/neptune.svg
diff --git a/assets/solar/saturn.svg b/assets/images/solar/saturn.svg
similarity index 100%
rename from assets/solar/saturn.svg
rename to assets/images/solar/saturn.svg
diff --git a/assets/images/solar.gif b/assets/images/solar/solar.gif
similarity index 100%
rename from assets/images/solar.gif
rename to assets/images/solar/solar.gif
diff --git a/assets/solar/sun.svg b/assets/images/solar/sun.svg
similarity index 100%
rename from assets/solar/sun.svg
rename to assets/images/solar/sun.svg
diff --git a/assets/solar/uranus.svg b/assets/images/solar/uranus.svg
similarity index 100%
rename from assets/solar/uranus.svg
rename to assets/images/solar/uranus.svg
diff --git a/assets/solar/venus.svg b/assets/images/solar/venus.svg
similarity index 100%
rename from assets/solar/venus.svg
rename to assets/images/solar/venus.svg
diff --git a/assets/images/violet.svg b/assets/images/violet.svg
deleted file mode 100644
index a38ca4a..0000000
--- a/assets/images/violet.svg
+++ /dev/null
@@ -1,117 +0,0 @@
-
-
diff --git a/assets/images/white.svg b/assets/images/white.svg
deleted file mode 100644
index 2681284..0000000
--- a/assets/images/white.svg
+++ /dev/null
@@ -1,239 +0,0 @@
-
-
diff --git a/assets/sounds/bear_sound.mp3 b/assets/sounds/animals/bear_sound.mp3
similarity index 100%
rename from assets/sounds/bear_sound.mp3
rename to assets/sounds/animals/bear_sound.mp3
diff --git a/assets/sounds/cat_sound.wav b/assets/sounds/animals/cat_sound.wav
similarity index 100%
rename from assets/sounds/cat_sound.wav
rename to assets/sounds/animals/cat_sound.wav
diff --git a/assets/sounds/cow_sound.mp3 b/assets/sounds/animals/cow_sound.mp3
similarity index 100%
rename from assets/sounds/cow_sound.mp3
rename to assets/sounds/animals/cow_sound.mp3
diff --git a/assets/sounds/deer_sound.mp3 b/assets/sounds/animals/deer_sound.mp3
similarity index 100%
rename from assets/sounds/deer_sound.mp3
rename to assets/sounds/animals/deer_sound.mp3
diff --git a/assets/sounds/dog_sound.mp3 b/assets/sounds/animals/dog_sound.mp3
similarity index 100%
rename from assets/sounds/dog_sound.mp3
rename to assets/sounds/animals/dog_sound.mp3
diff --git a/assets/sounds/elephant_sound.mp3 b/assets/sounds/animals/elephant_sound.mp3
similarity index 100%
rename from assets/sounds/elephant_sound.mp3
rename to assets/sounds/animals/elephant_sound.mp3
diff --git a/assets/sounds/fox_sound.mp3 b/assets/sounds/animals/fox_sound.mp3
similarity index 100%
rename from assets/sounds/fox_sound.mp3
rename to assets/sounds/animals/fox_sound.mp3
diff --git a/assets/sounds/giraffe_sound.mp3 b/assets/sounds/animals/giraffe_sound.mp3
similarity index 100%
rename from assets/sounds/giraffe_sound.mp3
rename to assets/sounds/animals/giraffe_sound.mp3
diff --git a/assets/sounds/goat_sound.mp3 b/assets/sounds/animals/goat_sound.mp3
similarity index 100%
rename from assets/sounds/goat_sound.mp3
rename to assets/sounds/animals/goat_sound.mp3
diff --git a/assets/sounds/horse_sound.mp3 b/assets/sounds/animals/horse_sound.mp3
similarity index 100%
rename from assets/sounds/horse_sound.mp3
rename to assets/sounds/animals/horse_sound.mp3
diff --git a/assets/sounds/kangaroo_sound.mp3 b/assets/sounds/animals/kangaroo_sound.mp3
similarity index 100%
rename from assets/sounds/kangaroo_sound.mp3
rename to assets/sounds/animals/kangaroo_sound.mp3
diff --git a/assets/sounds/lion_sound.mp3 b/assets/sounds/animals/lion_sound.mp3
similarity index 100%
rename from assets/sounds/lion_sound.mp3
rename to assets/sounds/animals/lion_sound.mp3
diff --git a/assets/sounds/monkey_sound.mp3 b/assets/sounds/animals/monkey_sound.mp3
similarity index 100%
rename from assets/sounds/monkey_sound.mp3
rename to assets/sounds/animals/monkey_sound.mp3
diff --git a/assets/sounds/pig_sound.mp3 b/assets/sounds/animals/pig_sound.mp3
similarity index 100%
rename from assets/sounds/pig_sound.mp3
rename to assets/sounds/animals/pig_sound.mp3
diff --git a/assets/sounds/rabbit_sound.mp3 b/assets/sounds/animals/rabbit_sound.mp3
similarity index 100%
rename from assets/sounds/rabbit_sound.mp3
rename to assets/sounds/animals/rabbit_sound.mp3
diff --git a/assets/sounds/sheep_sound.mp3 b/assets/sounds/animals/sheep_sound.mp3
similarity index 100%
rename from assets/sounds/sheep_sound.mp3
rename to assets/sounds/animals/sheep_sound.mp3
diff --git a/assets/sounds/snake_sound.mp3 b/assets/sounds/animals/snake_sound.mp3
similarity index 100%
rename from assets/sounds/snake_sound.mp3
rename to assets/sounds/animals/snake_sound.mp3
diff --git a/assets/sounds/squirrel_sound.mp3 b/assets/sounds/animals/squirrel_sound.mp3
similarity index 100%
rename from assets/sounds/squirrel_sound.mp3
rename to assets/sounds/animals/squirrel_sound.mp3
diff --git a/assets/sounds/tiger_sound.mp3 b/assets/sounds/animals/tiger_sound.mp3
similarity index 100%
rename from assets/sounds/tiger_sound.mp3
rename to assets/sounds/animals/tiger_sound.mp3
diff --git a/assets/sounds/zebra_sound.mp3 b/assets/sounds/animals/zebra_sound.mp3
similarity index 100%
rename from assets/sounds/zebra_sound.mp3
rename to assets/sounds/animals/zebra_sound.mp3
diff --git a/assets/birds/Bagula.mp3 b/assets/sounds/birds/Bagula.mp3
similarity index 100%
rename from assets/birds/Bagula.mp3
rename to assets/sounds/birds/Bagula.mp3
diff --git a/assets/birds/Baya.mp3 b/assets/sounds/birds/Baya.mp3
similarity index 100%
rename from assets/birds/Baya.mp3
rename to assets/sounds/birds/Baya.mp3
diff --git a/assets/birds/Bulbul.mp3 b/assets/sounds/birds/Bulbul.mp3
similarity index 100%
rename from assets/birds/Bulbul.mp3
rename to assets/sounds/birds/Bulbul.mp3
diff --git a/assets/birds/Crow.mp3 b/assets/sounds/birds/Crow.mp3
similarity index 100%
rename from assets/birds/Crow.mp3
rename to assets/sounds/birds/Crow.mp3
diff --git a/assets/birds/Duck.mp3 b/assets/sounds/birds/Duck.mp3
similarity index 100%
rename from assets/birds/Duck.mp3
rename to assets/sounds/birds/Duck.mp3
diff --git a/assets/birds/Eagle.mp3 b/assets/sounds/birds/Eagle.mp3
similarity index 100%
rename from assets/birds/Eagle.mp3
rename to assets/sounds/birds/Eagle.mp3
diff --git a/assets/birds/Goose.mp3 b/assets/sounds/birds/Goose.mp3
similarity index 100%
rename from assets/birds/Goose.mp3
rename to assets/sounds/birds/Goose.mp3
diff --git a/assets/birds/Hen.mp3 b/assets/sounds/birds/Hen.mp3
similarity index 100%
rename from assets/birds/Hen.mp3
rename to assets/sounds/birds/Hen.mp3
diff --git a/assets/birds/Hummingbird.mp3 b/assets/sounds/birds/Hummingbird.mp3
similarity index 100%
rename from assets/birds/Hummingbird.mp3
rename to assets/sounds/birds/Hummingbird.mp3
diff --git a/assets/birds/Kingfisher.mp3 b/assets/sounds/birds/Kingfisher.mp3
similarity index 100%
rename from assets/birds/Kingfisher.mp3
rename to assets/sounds/birds/Kingfisher.mp3
diff --git a/assets/birds/Koel.mp3 b/assets/sounds/birds/Koel.mp3
similarity index 100%
rename from assets/birds/Koel.mp3
rename to assets/sounds/birds/Koel.mp3
diff --git a/assets/birds/Maina.mp3 b/assets/sounds/birds/Maina.mp3
similarity index 100%
rename from assets/birds/Maina.mp3
rename to assets/sounds/birds/Maina.mp3
diff --git a/assets/birds/Ostrich.mp3 b/assets/sounds/birds/Ostrich.mp3
similarity index 100%
rename from assets/birds/Ostrich.mp3
rename to assets/sounds/birds/Ostrich.mp3
diff --git a/assets/birds/Owl.mp3 b/assets/sounds/birds/Owl.mp3
similarity index 100%
rename from assets/birds/Owl.mp3
rename to assets/sounds/birds/Owl.mp3
diff --git a/assets/birds/Parrot.mp3 b/assets/sounds/birds/Parrot.mp3
similarity index 100%
rename from assets/birds/Parrot.mp3
rename to assets/sounds/birds/Parrot.mp3
diff --git a/assets/birds/Pigeon.mp3 b/assets/sounds/birds/Pigeon.mp3
similarity index 100%
rename from assets/birds/Pigeon.mp3
rename to assets/sounds/birds/Pigeon.mp3
diff --git a/assets/birds/Robin.mp3 b/assets/sounds/birds/Robin.mp3
similarity index 100%
rename from assets/birds/Robin.mp3
rename to assets/sounds/birds/Robin.mp3
diff --git a/assets/birds/Seagull.mp3 b/assets/sounds/birds/Seagull.mp3
similarity index 100%
rename from assets/birds/Seagull.mp3
rename to assets/sounds/birds/Seagull.mp3
diff --git a/assets/birds/Sparrow.mp3 b/assets/sounds/birds/Sparrow.mp3
similarity index 100%
rename from assets/birds/Sparrow.mp3
rename to assets/sounds/birds/Sparrow.mp3
diff --git a/assets/birds/Swan.mp3 b/assets/sounds/birds/Swan.mp3
similarity index 100%
rename from assets/birds/Swan.mp3
rename to assets/sounds/birds/Swan.mp3
diff --git a/assets/birds/Vulture.mp3 b/assets/sounds/birds/Vulture.mp3
similarity index 100%
rename from assets/birds/Vulture.mp3
rename to assets/sounds/birds/Vulture.mp3
diff --git a/assets/birds/Woodpecker.mp3 b/assets/sounds/birds/Woodpecker.mp3
similarity index 100%
rename from assets/birds/Woodpecker.mp3
rename to assets/sounds/birds/Woodpecker.mp3
diff --git a/lib/pages/home.dart b/lib/pages/home.dart
index 6fca00e..e9a8a88 100644
--- a/lib/pages/home.dart
+++ b/lib/pages/home.dart
@@ -2,6 +2,7 @@ import 'package:adaptive_theme/adaptive_theme.dart';
import 'package:flutter/material.dart';
import 'package:fluttertoast/fluttertoast.dart';
import 'package:learn/main.dart';
+import 'package:learn/utils/assets_path.dart';
import '../utils/routes.dart';
import '../widgets/drawer.dart';
@@ -96,8 +97,8 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage('assets/images/alphabets.jpg'),
+ image: DecorationImage(
+ image: AssetImage(AssetsPath.getAlphabetImage(Alphabets.alphabets)),
fit: BoxFit.cover,
),
),
@@ -136,8 +137,8 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage('assets/images/animals.jpg'),
+ image: DecorationImage(
+ image: AssetImage(AssetsPath.getAnimalImage(Animals.animals)),
fit: BoxFit.cover,
),
),
@@ -176,8 +177,8 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage('assets/body/body.jpg'),
+ image: DecorationImage(
+ image: AssetImage(AssetsPath.getBodyImage(Body.body)),
fit: BoxFit.cover,
),
),
@@ -214,8 +215,8 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage('assets/images/birds.jpg'),
+ image: DecorationImage(
+ image: AssetImage(AssetsPath.getBirdImage(Birds.birds)),
fit: BoxFit.cover,
),
),
@@ -252,8 +253,9 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage('assets/colours/colours-cover.png'),
+ image: DecorationImage(
+ image: AssetImage(
+ AssetsPath.getColoursImage(ColorImages.colorsCover)),
fit: BoxFit.cover,
),
),
@@ -290,9 +292,8 @@ class _MyHomePageState extends State {
offset: const Offset(0, 3),
),
],
- image: const DecorationImage(
- image: AssetImage(
- 'assets/images/flowers/flower_banner.jpeg'),
+ image: DecorationImage(
+ image: AssetImage(AssetsPath.getFlowerImage(Flowers.flowerBanner)),
fit: BoxFit.cover,
),
),
diff --git a/lib/pages/modules/atoz.dart b/lib/pages/modules/atoz.dart
index ce07423..aa1def7 100644
--- a/lib/pages/modules/atoz.dart
+++ b/lib/pages/modules/atoz.dart
@@ -3,6 +3,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'dart:async';
import 'package:flutter_tts/flutter_tts.dart';
+import 'package:learn/utils/constants.dart';
class ItemTile extends StatelessWidget {
final int index;
@@ -245,166 +246,7 @@ class AtoZ extends StatefulWidget {
class _AtoZState extends State {
bool isTimerEnabled = false;
- List items = [
- // Add your ItemData list here
- // Example:
- ItemData(
- iconAsset: 'assets/images/apple.svg',
- title: 'A',
- description: 'Apple',
- backgroundColor: const Color.fromARGB(115, 171, 171, 171),
- ),
- ItemData(
- iconAsset: 'assets/images/ball.svg',
- title: 'B',
- description: 'Ball',
- backgroundColor: const Color.fromARGB(115, 215, 118, 118),
- ),
- ItemData(
- iconAsset: 'assets/images/cat.svg',
- title: 'C',
- description: 'Cat',
- backgroundColor: const Color.fromARGB(194, 130, 243, 69),
- ),
- ItemData(
- iconAsset: 'assets/images/dog.svg',
- title: 'D',
- description: 'Dog',
- backgroundColor: const Color.fromARGB(115, 215, 199, 118),
- ),
- ItemData(
- iconAsset: 'assets/images/elephant.svg',
- title: 'E',
- description: 'Elephant',
- backgroundColor: const Color.fromARGB(115, 118, 215, 173),
- ),
- ItemData(
- iconAsset: 'assets/images/fish.svg',
- title: 'F',
- description: 'Fish',
- backgroundColor: const Color.fromARGB(115, 150, 118, 215),
- ),
- ItemData(
- iconAsset: 'assets/images/grapes.svg',
- title: 'G',
- backgroundColor: const Color.fromARGB(115, 215, 118, 175),
- description: 'Grapes',
- ),
- ItemData(
- iconAsset: 'assets/images/horse.svg',
- title: 'H',
- backgroundColor: const Color.fromARGB(115, 157, 215, 118),
- description: 'Horse',
- ),
- ItemData(
- iconAsset: 'assets/images/icecream.svg',
- title: 'I',
- backgroundColor: const Color.fromARGB(221, 176, 102, 220),
- description: 'Ice-Cream',
- ),
- ItemData(
- iconAsset: 'assets/images/joker.svg',
- title: 'J',
- description: 'Joker',
- backgroundColor: const Color.fromARGB(208, 112, 181, 206),
- ),
- ItemData(
- iconAsset: 'assets/images/king.svg',
- title: 'K',
- backgroundColor: const Color.fromARGB(115, 171, 215, 118),
- description: 'King',
- ),
- ItemData(
- iconAsset: 'assets/images/lion.svg',
- title: 'L',
- description: 'Lion',
- backgroundColor: const Color.fromARGB(236, 235, 229, 53),
- ),
- ItemData(
- iconAsset: 'assets/images/money.svg',
- title: 'M',
- description: 'Money',
- backgroundColor: const Color.fromARGB(115, 118, 189, 215),
- ),
- ItemData(
- iconAsset: 'assets/images/nest.svg',
- title: 'N',
- description: 'Nest',
- backgroundColor: const Color.fromARGB(115, 118, 215, 121),
- ),
- ItemData(
- iconAsset: 'assets/images/orange.svg',
- title: 'O',
- description: 'Orange',
- backgroundColor: const Color.fromARGB(115, 215, 189, 118),
- ),
- ItemData(
- iconAsset: 'assets/images/parrot.svg',
- title: 'P',
- backgroundColor: const Color.fromARGB(115, 120, 118, 215),
- description: 'Parrot',
- ),
- ItemData(
- iconAsset: 'assets/images/queen.svg',
- title: 'Q',
- backgroundColor: const Color.fromARGB(115, 215, 118, 118),
- description: 'Queen',
- ),
- ItemData(
- iconAsset: 'assets/images/rabbit.svg',
- title: 'R',
- description: 'Rabbit',
- backgroundColor: const Color.fromARGB(174, 134, 218, 191),
- ),
- ItemData(
- iconAsset: 'assets/images/shiva.svg',
- title: 'S',
- backgroundColor: const Color.fromARGB(170, 156, 216, 145),
- description: 'Shiva',
- ),
- ItemData(
- iconAsset: 'assets/images/table.svg',
- title: 'T',
- backgroundColor: const Color.fromARGB(180, 138, 64, 228),
- description: 'Table',
- ),
- ItemData(
- iconAsset: 'assets/images/umbrella.svg',
- title: 'U',
- backgroundColor: const Color.fromARGB(189, 212, 127, 220),
- description: 'Umbrella',
- ),
- ItemData(
- iconAsset: 'assets/images/van.svg',
- title: 'V',
- backgroundColor: const Color.fromARGB(115, 215, 118, 118),
- description: 'Van',
- ),
- ItemData(
- iconAsset: 'assets/images/window.svg',
- title: 'W',
- backgroundColor: const Color.fromARGB(246, 255, 194, 25),
- description: 'Window',
- ),
- ItemData(
- iconAsset: 'assets/images/xerox.svg',
- title: 'X',
- backgroundColor: const Color.fromARGB(115, 0, 236, 71),
- description: 'Xerox',
- ),
- ItemData(
- iconAsset: 'assets/images/yellow.svg',
- title: 'Y',
- backgroundColor: const Color.fromARGB(115, 9, 255, 230),
- description: 'Yellow',
- ),
- ItemData(
- iconAsset: 'assets/images/zero.svg',
- title: 'Z',
- backgroundColor: const Color.fromARGB(155, 81, 0, 255),
- description: 'Zero',
- ),
- ];
+ List items = AppConstants.alphabetItems;
@override
Widget build(BuildContext context) {
diff --git a/lib/pages/modules/colours.dart b/lib/pages/modules/colours.dart
index b283983..4c9a2df 100644
--- a/lib/pages/modules/colours.dart
+++ b/lib/pages/modules/colours.dart
@@ -1,6 +1,7 @@
import 'package:flutter/material.dart';
import 'package:flutter_tts/flutter_tts.dart';
import 'package:flutter_svg/flutter_svg.dart';
+import 'package:learn/utils/assets_path.dart';
class Colours {
final String name;
@@ -27,61 +28,61 @@ class _ColoursPageState extends State {
final List colours = [
Colours(
name: 'Blue',
- jpgAsset: 'assets/colours/blue.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.blue),
bgColor: Colors.lightBlueAccent,
fontColor: Colors.lightBlueAccent,
),
Colours(
name: 'Yellow',
- jpgAsset: 'assets/colours/yellow.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.yellow),
bgColor: Colors.yellow.shade600,
fontColor: Colors.yellow.shade600,
),
Colours(
name: 'Black',
- jpgAsset: 'assets/colours/black.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.black),
bgColor: Colors.black,
fontColor: Colors.black,
),
Colours(
name: 'Green',
- jpgAsset: 'assets/colours/green.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.green),
bgColor: Colors.green,
fontColor: Colors.green,
),
Colours(
name: 'Pink',
- jpgAsset: 'assets/colours/pink.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.pink),
bgColor: Colors.pink.shade300,
fontColor: Colors.pink.shade300,
),
Colours(
name: 'White',
- jpgAsset: 'assets/colours/white.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.white),
bgColor: Colors.grey.shade400,
fontColor: Colors.grey.shade400,
),
Colours(
name: 'Red',
- jpgAsset: 'assets/colours/red.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.red),
bgColor: Colors.red,
fontColor: Colors.red,
),
Colours(
name: 'Violet',
- jpgAsset: 'assets/colours/violet.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.violet),
bgColor: Colors.deepPurple,
fontColor: Colors.deepPurple,
),
Colours(
name: 'Brown',
- jpgAsset: 'assets/colours/brown.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.brown),
bgColor: const Color(0xFF964B00),
fontColor: const Color(0xFF964B00),
),
Colours(
name: 'Orange',
- jpgAsset: 'assets/colours/orange.svg',
+ jpgAsset: AssetsPath.getColoursImage(ColorImages.orange),
bgColor: Colors.orange,
fontColor: Colors.orange,
),
diff --git a/lib/pages/modules/flowers.dart b/lib/pages/modules/flowers.dart
index 9a7eba8..41aa7f5 100644
--- a/lib/pages/modules/flowers.dart
+++ b/lib/pages/modules/flowers.dart
@@ -23,17 +23,17 @@ class FlowerPage extends StatefulWidget {
class _FlowerPageState extends State {
final List flowers = [
- Flower(name: "Rose", resource: AssetsPath.getFlowerImage("rose.svg"), background: Colors.redAccent),
- Flower(name: "Sunflower", resource: AssetsPath.getFlowerImage("sunflower.svg"), background: Colors.yellowAccent),
- Flower(name: "Lily", resource: AssetsPath.getFlowerImage("lily.svg"), background: Colors.greenAccent),
- Flower(name: "Marigold", resource: AssetsPath.getFlowerImage("marigold.svg"), background: Colors.yellow),
- Flower(name: "Carnation", resource: AssetsPath.getFlowerImage("carnation.svg"), background: Colors.redAccent),
- Flower(name: "Daffodil", resource: AssetsPath.getFlowerImage("daffodil.svg"), background: Colors.purpleAccent),
- Flower(name: "Daisy", resource: AssetsPath.getFlowerImage("daisy.svg"), background: Colors.green),
- Flower(name: "Poppy", resource: AssetsPath.getFlowerImage("poppy.svg"), background: Colors.redAccent),
- Flower(name: "Tulip", resource: AssetsPath.getFlowerImage("tulip.svg"), background: Colors.pink),
- Flower(name: "Lavender", resource: AssetsPath.getFlowerImage("lavender.svg"), background: Colors.purple),
- Flower(name: "Hibiscus", resource: AssetsPath.getFlowerImage("hibiscus.svg"), background: Colors.red),
+ Flower(name: "Rose", resource: AssetsPath.getFlowerImage(Flowers.rose), background: Colors.redAccent),
+ Flower(name: "Sunflower", resource: AssetsPath.getFlowerImage(Flowers.sunflower), background: Colors.yellowAccent),
+ Flower(name: "Lily", resource: AssetsPath.getFlowerImage(Flowers.lily), background: Colors.greenAccent),
+ Flower(name: "Marigold", resource: AssetsPath.getFlowerImage(Flowers.marigold), background: Colors.yellow),
+ Flower(name: "Carnation", resource: AssetsPath.getFlowerImage(Flowers.carnation), background: Colors.redAccent),
+ Flower(name: "Daffodil", resource: AssetsPath.getFlowerImage(Flowers.daffodil), background: Colors.purpleAccent),
+ Flower(name: "Daisy", resource: AssetsPath.getFlowerImage(Flowers.daisy), background: Colors.green),
+ Flower(name: "Poppy", resource: AssetsPath.getFlowerImage(Flowers.poppy), background: Colors.redAccent),
+ Flower(name: "Tulip", resource: AssetsPath.getFlowerImage(Flowers.tulip), background: Colors.pink),
+ Flower(name: "Lavender", resource: AssetsPath.getFlowerImage(Flowers.lavender), background: Colors.purple),
+ Flower(name: "Hibiscus", resource: AssetsPath.getFlowerImage(Flowers.hibiscus), background: Colors.red),
];
diff --git a/lib/pages/modules/parts.dart b/lib/pages/modules/parts.dart
index e9b648d..34a6708 100644
--- a/lib/pages/modules/parts.dart
+++ b/lib/pages/modules/parts.dart
@@ -4,6 +4,7 @@ import 'package:flutter/widgets.dart';
import 'package:flutter_card_swiper/flutter_card_swiper.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter_tts/flutter_tts.dart';
+import 'package:learn/utils/assets_path.dart';
import 'package:learn/utils/constants.dart';
import 'package:learn/utils/functions.dart';
import 'package:learn/utils/responsive_screen_provider.dart';
@@ -237,7 +238,7 @@ class PartsPageCard extends StatelessWidget {
children: [
Expanded(
child: SvgPicture.asset(
- "assets/body/$name.svg",
+ AssetsPath.getBodyImage("$name.svg"),
width: 250,
height: 250,
),
diff --git a/lib/pages/modules/planets.dart b/lib/pages/modules/planets.dart
index 4780968..e16818d 100644
--- a/lib/pages/modules/planets.dart
+++ b/lib/pages/modules/planets.dart
@@ -2,6 +2,7 @@ import 'package:flutter/material.dart';
import 'package:flutter_svg/flutter_svg.dart';
import 'package:flutter_tts/flutter_tts.dart';
import 'package:just_audio/just_audio.dart';
+import 'package:learn/utils/assets_path.dart';
class Planet {
final String name;
@@ -21,55 +22,55 @@ class PlanetsPage extends StatelessWidget {
final List planets = [
Planet(
name: 'Sun',
- svgAsset: 'assets/solar/sun.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.sun),
description: 'Sun is the biggest star in the solar system.',
backgroundColor: const Color.fromARGB(255, 208, 211, 23),
),
Planet(
name: 'Mercury',
- svgAsset: 'assets/solar/mercury.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.mercury),
description: 'Mercury is the closest planet to the Sun.',
backgroundColor: const Color.fromARGB(255, 221, 221, 221),
),
Planet(
name: 'Venus',
- svgAsset: 'assets/solar/venus.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.venus),
description: 'Venus is known for its thick atmosphere.',
backgroundColor: const Color.fromARGB(255, 240, 193, 95),
),
Planet(
name: 'Earth',
- svgAsset: 'assets/solar/earth.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.earth),
description: 'Earth is the third planet from the Sun.',
backgroundColor: const Color.fromARGB(255, 81, 149, 192),
),
Planet(
name: 'Mars',
- svgAsset: 'assets/solar/mars.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.mars),
description: 'Mars is often called the Red Planet.',
backgroundColor: const Color.fromARGB(255, 238, 118, 96),
),
Planet(
name: 'Jupiter',
- svgAsset: 'assets/solar/jupiter.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.jupiter),
description: 'Jupiter is the largest planet in our solar system.',
backgroundColor: const Color.fromARGB(255, 204, 164, 122),
),
Planet(
name: 'Saturn',
- svgAsset: 'assets/solar/saturn.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.saturn),
description: 'Saturn is known for its beautiful rings.',
backgroundColor: const Color.fromARGB(255, 229, 215, 194),
),
Planet(
name: 'Uranus',
- svgAsset: 'assets/solar/uranus.png',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.uranus),
description: 'Uranus is an ice giant with a unique rotation axis.',
backgroundColor: const Color.fromARGB(255, 169, 222, 246),
),
Planet(
name: 'Neptune',
- svgAsset: 'assets/solar/neptune.svg',
+ svgAsset: AssetsPath.getSolarImage(SolarSystem.neptune),
description: 'Neptune is the farthest planet from the Sun.',
backgroundColor: const Color.fromARGB(255, 64, 90, 200),
),
diff --git a/lib/utils/assets_path.dart b/lib/utils/assets_path.dart
index 478641d..5b1260f 100644
--- a/lib/utils/assets_path.dart
+++ b/lib/utils/assets_path.dart
@@ -1,7 +1,273 @@
class AssetsPath {
+ //Image assets
+ static const String _images = 'assets/images/';
static const String _flowerImages = 'assets/images/flowers/';
+ static const String _alphabetImages = 'assets/images/alphabet/';
+ static const String _animalImages = 'assets/images/animal/';
+ static const String _birdImages = 'assets/images/birds/';
+ static const String _bodyImages = 'assets/images/body/';
+ static const String _solarImages = 'assets/images/solar/';
+ static const String _coloursImages = 'assets/colours/';
+
+ //Sound assets
+ static const String _sounds = 'assets/sounds/';
+ static const String _animalSound = 'assets/sounds/animals/';
+ static const String _birdSound = 'assets/sounds/birds/';
+
+
+ //Image assets
+
+ static String getImage(String name) {
+ return _images + name;
+ }
+
+ static String getAlphabetImage(String name) {
+ return _alphabetImages + name;
+ }
+
+ static String getAnimalImage(String name) {
+ return _animalImages + name;
+ }
+
+ static String getBirdImage(String name) {
+ return _birdImages + name;
+ }
+
+ static String getBodyImage(String name) {
+ return _bodyImages + name;
+ }
+
+ static String getSolarImage(String name) {
+ return _solarImages + name;
+ }
+
+ static String getColoursImage(String name) {
+ return _coloursImages + name;
+ }
+
static String getFlowerImage(String name) {
return _flowerImages + name;
}
+
+
+ //Sound assets
+
+ static String getSound(String name) {
+ return _sounds + name;
+ }
+
+ static String getAnimalSound(String name) {
+ return _animalSound + name;
+ }
+
+ static String getBirdSound(String name) {
+ return _birdSound + name;
+ }
+
+}
+
+class Alphabets{
+ static const String alphabets = 'alphabets.jpg';
+ static const String apple = 'apple.svg';
+ static const String ball = 'ball.svg';
+ static const String cat = 'cat.svg';
+ static const String dog = 'dog.svg';
+ static const String elephant = 'elephant.svg';
+ static const String fish = 'fish.svg';
+ static const String grapes = 'grapes.svg';
+ static const String horse = 'horse.svg';
+ static const String icecream = 'icecream.svg';
+ static const String joker = 'joker.svg';
+ static const String king = 'king.svg';
+ static const String lion = 'lion.svg';
+ static const String money = 'money.svg';
+ static const String nest = 'nest.svg';
+ static const String orange = 'orange.svg';
+ static const String parrot = 'parrot.svg';
+ static const String queen = 'queen.svg';
+ static const String rabbit = 'rabbit.svg';
+ static const String shiva = 'shiva.svg';
+ static const String table = 'table.svg';
+ static const String umbrella = 'umbrella.svg';
+ static const String van = 'van.svg';
+ static const String window = 'window.svg';
+ static const String xerox = 'xerox.svg';
+ static const String yellow = 'yellow.svg';
+ static const String zero = 'zero.svg';
+}
+
+class Animals{
+ static const String animals = 'animals.jpg';
+ static const String bear = 'bear.svg';
+ static const String cat = 'cat.svg';
+ static const String cow = 'cow.svg';
+ static const String deer = 'deer.svg';
+ static const String dog = 'dog.svg';
+ static const String elephant = 'elephant.svg';
+ static const String fox = 'fox.svg';
+ static const String giraffe = 'giraffe.svg';
+ static const String goat = 'goat.svg';
+ static const String horse = 'horse.svg';
+ static const String kangaroo = 'kangaroo.svg';
+ static const String lion = 'lion.svg';
+ static const String monkey = 'monkey.svg';
+ static const String pig = 'pig.svg';
+ static const String rabbit = 'rabbit.svg';
+ static const String sheep = 'sheep.svg';
+ static const String snake = 'snake.svg';
+ static const String squirrel = 'squirrel.svg';
+ static const String tiger = 'tiger.svg';
+ static const String zebra = 'zebra.svg';
+
+ //sound
+ static const String bearSound = 'bear_sound.mp3';
+ static const String catSound = 'cat_sound.wav';
+ static const String cowSound = 'cow_sound.mp3';
+ static const String deerSound = 'deer_sound.mp3';
+ static const String dogSound = 'dog_sound.mp3';
+ static const String elephantSound = 'elephant_sound.mp3';
+ static const String foxSound = 'fox_sound.mp3';
+ static const String giraffeSound = 'giraffe_sound.mp3';
+ static const String goatSound = 'goat_sound.mp3';
+ static const String horseSound = 'horse_sound.mp3';
+ static const String kangarooSound = 'kangaroo_sound.mp3';
+ static const String lionSound = 'lion_sound.mp3';
+ static const String monkeySound = 'monkey_sound.mp3';
+ static const String pigSound = 'pig_sound.mp3';
+ static const String rabbitSound = 'rabbit_sound.mp3';
+ static const String sheepSound = 'sheep_sound.mp3';
+ static const String snakeSound = 'snake_sound.mp3';
+ static const String squirrelSound = 'squirrel_sound.mp3';
+ static const String tigerSound = 'tiger_sound.mp3';
+ static const String zebraSound = 'zebra_sound.mp3';
+
+}
+
+class Birds{
+ static const String birds = 'birds.jpg';
+ static const String bagula = 'Bagula.svg';
+ static const String baya = 'Baya.svg';
+ static const String bulbul = 'Bulbul.svg';
+ static const String crow = 'Crow.svg';
+ static const String duck = 'Duck.svg';
+ static const String eagle = 'Eagle.svg';
+ static const String goose = 'Goose.svg';
+ static const String hen = 'Hen.svg';
+ static const String hummingbird = 'Hummingbird.svg';
+ static const String kingfisher = 'Kingfisher.svg';
+ static const String koel = 'Koel.svg';
+ static const String maina = 'Maina.svg';
+ static const String ostrich = 'Ostrich.svg';
+ static const String owl = 'Owl.svg';
+ static const String parrot = 'Parrot.svg';
+ static const String pigeon = 'Pigeon.svg';
+ static const String robin = 'Robin.svg';
+ static const String seagull = 'Seagull.svg';
+ static const String sparrow = 'Sparrow.svg';
+ static const String swan = 'Swan.svg';
+ static const String vulture = 'Vulture.svg';
+ static const String woodpecker = 'Woodpecker.svg';
+
+ //sound
+
+ static const String bagulaSound = 'Bagula.mp3';
+ static const String bayaSound = 'Baya.mp3';
+ static const String bulbulSound = 'Bulbul.mp3';
+ static const String crowSound = 'Crow.mp3';
+ static const String duckSound = 'Duck.mp3';
+ static const String eagleSound = 'Eagle.mp3';
+ static const String gooseSound = 'Goose.mp3';
+ static const String henSound = 'Hen.mp3';
+ static const String hummingbirdSound = 'Hummingbird.mp3';
+ static const String kingfisherSound = 'Kingfisher.mp3';
+ static const String koelSound = 'Koel.mp3';
+ static const String mainaSound = 'Maina.mp3';
+ static const String ostrichSound = 'Ostrich.mp3';
+ static const String owlSound = 'Owl.mp3';
+ static const String parrotSound = 'Parrot.mp3';
+ static const String pigeonSound = 'Pigeon.mp3';
+ static const String robinSound = 'Robin.mp3';
+ static const String seagullSound = 'Seagull.mp3';
+ static const String sparrowSound = 'Sparrow.mp3';
+ static const String swanSound = 'Swan.mp3';
+ static const String vultureSound = 'Vulture.mp3';
+ static const String woodpeckerSound = 'Woodpecker.mp3';
}
+
+class Body {
+ static const String body = 'body.jpg';
+ static const String ankle = 'Ankle.svg';
+ static const String arm = 'Arm.svg';
+ static const String back = 'Back.svg';
+ static const String bally = 'Belly.svg';
+ static const String cheek = 'Cheek.svg';
+ static const String chest = 'Chest.svg';
+ static const String chin = 'Chin.svg';
+ static const String ear = 'Ear.svg';
+ static const String elbow = 'Elbow.svg';
+ static const String eye = 'Eye.svg';
+ static const String finger = 'Finger.svg';
+ static const String foot = 'Foot.svg';
+ static const String hair = 'Hair.svg';
+ static const String hips = 'Hips.svg';
+ static const String knee = 'Knee.svg';
+ static const String leg = 'Leg.svg';
+ static const String lips = 'Lips.svg';
+ static const String nail = 'Nail.svg';
+ static const String neck = 'Neck.svg';
+ static const String nose = 'Nose.svg';
+ static const String palm = 'Palm.svg';
+ static const String shoulder = 'Shoulder.svg';
+ static const String stomach = 'Stomach.svg';
+ static const String teeth = 'Teeth.svg';
+ static const String thigh = 'Thigh.svg';
+ static const String thumb = 'Thumb.svg';
+ static const String toe = 'Toe.svg';
+ static const String tongue = 'Tongue.svg';
+ static const String waist = 'Waist.svg';
+ static const String wrist = 'Wrist.svg';
+}
+
+class ColorImages{
+ static const String colorsCover = 'colours-cover.png';
+ static const String black = 'black.svg';
+ static const String blue = 'blue.svg';
+ static const String brown = 'brown.svg';
+ static const String green = 'green.svg';
+ static const String orange = 'orange.svg';
+ static const String pink = 'pink.svg';
+ static const String red = 'red.svg';
+ static const String violet = 'violet.svg';
+ static const String white = 'white.svg';
+ static const String yellow = 'yellow.svg';
+}
+
+class Flowers {
+ static const String flowerBanner = 'flower_banner.jpeg';
+ static const String flowerIcon = 'flower-icon.svg';
+ static const String carnation = 'carnation.svg';
+ static const String daffodil = 'daffodil.svg';
+ static const String daisy = 'daisy.svg';
+ static const String hibiscus = 'hibiscus.svg';
+ static const String lavender = 'lavender.svg';
+ static const String lily = 'lily.svg';
+ static const String marigold = 'marigold.svg';
+ static const String poppy = 'poppy.svg';
+ static const String rose = 'rose.svg';
+ static const String sunflower = 'sunflower.svg';
+ static const String tulip = 'tulip.svg';
+
+}
+
+class SolarSystem {
+ static const String sun = 'sun.svg';
+ static const String earth = 'earth.svg';
+ static const String jupiter = 'jupiter.svg';
+ static const String mars = 'mars.svg';
+ static const String mercury = 'mercury.svg';
+ static const String neptune = 'neptune.svg';
+ static const String saturn = 'saturn.svg';
+ static const String uranus = 'uranus.svg';
+ static const String venus = 'venus.svg';
+}
\ No newline at end of file
diff --git a/lib/utils/constants.dart b/lib/utils/constants.dart
index 9faa553..a53654e 100644
--- a/lib/utils/constants.dart
+++ b/lib/utils/constants.dart
@@ -20,6 +20,8 @@ import 'package:learn/pages/modules/planets.dart';
import 'package:learn/pages/modules/shapes.dart';
import '../model/module.dart';
+import 'package:learn/utils/assets_path.dart';
+
import '../pages/modules/animals.dart';
import '../pages/modules/atoz.dart';
import '../pages/modules/birds.dart';
@@ -111,159 +113,159 @@ class AppConstants {
"Wrist"
];
- static List items = [
+ static List alphabetItems = [
ItemData(
- iconAsset: 'assets/images/apple.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.apple),
title: 'A',
description: 'Apple',
backgroundColor: const Color.fromARGB(115, 171, 171, 171),
),
ItemData(
- iconAsset: 'assets/images/ball.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.ball),
title: 'B',
description: 'Ball',
backgroundColor: const Color.fromARGB(115, 215, 118, 118),
),
ItemData(
- iconAsset: 'assets/images/cat.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.cat),
title: 'C',
description: 'Cat',
backgroundColor: const Color.fromARGB(194, 130, 243, 69),
),
ItemData(
- iconAsset: 'assets/images/dog.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.dog),
title: 'D',
description: 'Dog',
backgroundColor: const Color.fromARGB(115, 215, 199, 118),
),
ItemData(
- iconAsset: 'assets/images/elephant.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.elephant),
title: 'E',
description: 'Elephant',
backgroundColor: const Color.fromARGB(115, 118, 215, 173),
),
ItemData(
- iconAsset: 'assets/images/fish.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.fish),
title: 'F',
description: 'Fish',
backgroundColor: const Color.fromARGB(115, 150, 118, 215),
),
ItemData(
- iconAsset: 'assets/images/grapes.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.grapes),
title: 'G',
backgroundColor: const Color.fromARGB(115, 215, 118, 175),
description: 'Grapes',
),
ItemData(
- iconAsset: 'assets/images/horse.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.horse),
title: 'H',
backgroundColor: const Color.fromARGB(115, 157, 215, 118),
description: 'Horse',
),
ItemData(
- iconAsset: 'assets/images/icecream.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.icecream),
title: 'I',
backgroundColor: const Color.fromARGB(221, 176, 102, 220),
description: 'Ice-Cream',
),
ItemData(
- iconAsset: 'assets/images/joker.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.joker),
title: 'J',
description: 'Joker',
backgroundColor: const Color.fromARGB(208, 112, 181, 206),
),
ItemData(
- iconAsset: 'assets/images/king.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.king),
title: 'K',
backgroundColor: const Color.fromARGB(115, 171, 215, 118),
description: 'King',
),
ItemData(
- iconAsset: 'assets/images/lion.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.lion),
title: 'L',
description: 'Lion',
backgroundColor: const Color.fromARGB(236, 235, 229, 53),
),
ItemData(
- iconAsset: 'assets/images/money.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.money),
title: 'M',
description: 'Money',
backgroundColor: const Color.fromARGB(115, 118, 189, 215),
),
ItemData(
- iconAsset: 'assets/images/nest.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.nest),
title: 'N',
description: 'Nest',
backgroundColor: const Color.fromARGB(115, 118, 215, 121),
),
ItemData(
- iconAsset: 'assets/images/orange.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.orange),
title: 'O',
description: 'Orange',
backgroundColor: const Color.fromARGB(115, 215, 189, 118),
),
ItemData(
- iconAsset: 'assets/images/parrot.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.parrot),
title: 'P',
backgroundColor: const Color.fromARGB(115, 120, 118, 215),
description: 'Parrot',
),
ItemData(
- iconAsset: 'assets/images/queen.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.queen),
title: 'Q',
backgroundColor: const Color.fromARGB(115, 215, 118, 118),
description: 'Queen',
),
ItemData(
- iconAsset: 'assets/images/rabbit.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.rabbit),
title: 'R',
description: 'Rabbit',
backgroundColor: const Color.fromARGB(174, 134, 218, 191),
),
ItemData(
- iconAsset: 'assets/images/shiva.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.shiva),
title: 'S',
backgroundColor: const Color.fromARGB(170, 156, 216, 145),
description: 'Shiva',
),
ItemData(
- iconAsset: 'assets/images/table.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.table),
title: 'T',
backgroundColor: const Color.fromARGB(180, 138, 64, 228),
description: 'Table',
),
ItemData(
- iconAsset: 'assets/images/umbrella.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.umbrella),
title: 'U',
backgroundColor: const Color.fromARGB(189, 212, 127, 220),
description: 'Umbrella',
),
ItemData(
- iconAsset: 'assets/images/van.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.van),
title: 'V',
backgroundColor: const Color.fromARGB(115, 215, 118, 118),
description: 'Van',
),
ItemData(
- iconAsset: 'assets/images/window.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.window),
title: 'W',
backgroundColor: const Color.fromARGB(246, 255, 194, 25),
description: 'Window',
),
ItemData(
- iconAsset: 'assets/images/xerox.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.xerox),
title: 'X',
backgroundColor: const Color.fromARGB(115, 0, 236, 71),
description: 'Xerox',
),
ItemData(
- iconAsset: 'assets/images/yellow.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.yellow),
title: 'Y',
backgroundColor: const Color.fromARGB(115, 9, 255, 230),
description: 'Yellow',
),
ItemData(
- iconAsset: 'assets/images/zero.svg',
+ iconAsset: AssetsPath.getAlphabetImage(Alphabets.zero),
title: 'Z',
backgroundColor: const Color.fromARGB(155, 81, 0, 255),
description: 'Zero',
@@ -273,122 +275,122 @@ class AppConstants {
static List animals = [
Animal(
name: 'Cat',
- svgAsset: 'assets/images/cat.svg',
- soundAsset: 'assets/sounds/cat_sound.wav',
+ svgAsset: AssetsPath.getAnimalImage(Animals.cat),
+ soundAsset: AssetsPath.getAnimalSound(Animals.catSound),
backgroundColor: const Color.fromARGB(193, 76, 175, 79),
),
Animal(
name: 'Deer',
- svgAsset: 'assets/images/deer.svg',
- soundAsset: 'assets/sounds/deer_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.deer),
+ soundAsset: AssetsPath.getAnimalSound(Animals.deerSound),
backgroundColor: const Color.fromARGB(194, 157, 82, 222),
),
Animal(
name: 'Bear',
- svgAsset: 'assets/images/bear.svg',
- soundAsset: 'assets/sounds/bear_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.bear),
+ soundAsset: AssetsPath.getAnimalSound(Animals.bearSound),
backgroundColor: const Color.fromARGB(193, 76, 207, 222),
),
Animal(
name: 'Cow',
- svgAsset: 'assets/images/cow.svg',
- soundAsset: 'assets/sounds/cow_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.cow),
+ soundAsset: AssetsPath.getAnimalSound(Animals.cowSound),
backgroundColor: const Color.fromARGB(157, 251, 0, 0),
),
Animal(
name: 'Fox',
- svgAsset: 'assets/images/fox.svg',
- soundAsset: 'assets/sounds/fox_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.fox),
+ soundAsset: AssetsPath.getAnimalSound(Animals.foxSound),
backgroundColor: const Color.fromARGB(193, 21, 234, 28),
),
Animal(
name: 'Giraffe',
- svgAsset: 'assets/images/giraffe.svg',
- soundAsset: 'assets/sounds/giraffe_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.giraffe),
+ soundAsset: AssetsPath.getAnimalSound(Animals.giraffeSound),
backgroundColor: const Color.fromARGB(193, 226, 221, 70),
),
Animal(
name: 'Goat',
- svgAsset: 'assets/images/goat.svg',
- soundAsset: 'assets/sounds/goat_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.goat),
+ soundAsset:AssetsPath.getAnimalSound(Animals.goatSound),
backgroundColor: const Color.fromARGB(138, 48, 59, 48),
),
Animal(
name: 'Kangaroo',
- svgAsset: 'assets/images/kangaroo.svg',
- soundAsset: 'assets/sounds/kangaroo_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.kangaroo),
+ soundAsset: AssetsPath.getAnimalSound(Animals.kangarooSound),
backgroundColor: const Color.fromARGB(154, 221, 214, 209),
),
Animal(
name: 'Monkey',
- svgAsset: 'assets/images/monkey.svg',
- soundAsset: 'assets/sounds/monkey_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.monkey),
+ soundAsset: AssetsPath.getAnimalSound(Animals.monkeySound),
backgroundColor: const Color.fromARGB(193, 76, 175, 79),
),
Animal(
name: 'Pig',
- svgAsset: 'assets/images/pig.svg',
- soundAsset: 'assets/sounds/pig_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.pig),
+ soundAsset: AssetsPath.getAnimalSound(Animals.pigSound),
backgroundColor: const Color.fromARGB(151, 40, 137, 248),
),
Animal(
name: 'Sheep',
- svgAsset: 'assets/images/sheep.svg',
- soundAsset: 'assets/sounds/sheep_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.sheep),
+ soundAsset: AssetsPath.getAnimalSound(Animals.sheepSound),
backgroundColor: const Color.fromARGB(193, 240, 241, 170),
),
Animal(
name: 'Snake',
- svgAsset: 'assets/images/snake.svg',
- soundAsset: 'assets/sounds/snake_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.snake),
+ soundAsset: AssetsPath.getAnimalSound(Animals.snakeSound),
backgroundColor: const Color.fromARGB(193, 125, 176, 127),
),
Animal(
name: 'Squirrel',
- svgAsset: 'assets/images/squirrel.svg',
- soundAsset: 'assets/sounds/squirrel_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.squirrel),
+ soundAsset: AssetsPath.getAnimalSound(Animals.squirrelSound),
backgroundColor: const Color.fromARGB(139, 175, 140, 76),
),
Animal(
name: 'Tiger',
- svgAsset: 'assets/images/tiger.svg',
- soundAsset: 'assets/sounds/tiger_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.tiger),
+ soundAsset: AssetsPath.getAnimalSound(Animals.tigerSound),
backgroundColor: const Color.fromARGB(157, 251, 151, 0),
),
Animal(
name: 'Zebra',
- svgAsset: 'assets/images/zebra.svg',
- soundAsset: 'assets/sounds/zebra_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.zebra),
+ soundAsset:AssetsPath.getAnimalSound(Animals.zebraSound),
backgroundColor: const Color.fromARGB(193, 187, 74, 178),
),
Animal(
name: 'Dog',
- svgAsset: 'assets/images/dog.svg',
- soundAsset: 'assets/sounds/dog_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.dog),
+ soundAsset: AssetsPath.getAnimalSound(Animals.dogSound),
backgroundColor: const Color.fromARGB(193, 33, 149, 243),
),
Animal(
name: 'Elephant',
- svgAsset: 'assets/images/elephant.svg',
- soundAsset: 'assets/sounds/elephant_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.elephant),
+ soundAsset: AssetsPath.getAnimalSound(Animals.elephantSound),
backgroundColor: const Color.fromARGB(193, 182, 221, 252),
),
Animal(
name: 'Horse',
- svgAsset: 'assets/images/horse.svg',
- soundAsset: 'assets/sounds/horse_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.horse),
+ soundAsset:AssetsPath.getAnimalSound(Animals.horseSound),
backgroundColor: const Color.fromARGB(98, 243, 201, 33),
),
Animal(
name: 'Lion',
- svgAsset: 'assets/images/lion.svg',
- soundAsset: 'assets/sounds/lion_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.lion),
+ soundAsset: AssetsPath.getAnimalSound(Animals.lionSound),
backgroundColor: const Color.fromARGB(193, 43, 197, 35),
),
Animal(
name: 'Rabbit',
- svgAsset: 'assets/images/rabbit.svg',
- soundAsset: 'assets/sounds/rabbit_sound.mp3',
+ svgAsset: AssetsPath.getAnimalImage(Animals.rabbit),
+ soundAsset: AssetsPath.getAnimalSound(Animals.rabbitSound),
backgroundColor: const Color.fromARGB(156, 243, 33, 236),
),
];
@@ -396,128 +398,128 @@ class AppConstants {
static List birds = [
Bird(
name: 'Sparrow',
- svgAsset: 'assets/birds/Sparrow.svg',
- soundAsset: 'assets/birds/Sparrow.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.sparrow),
+ soundAsset: AssetsPath.getBirdSound(Birds.sparrowSound),
backgroundColor: const Color.fromARGB(193, 76, 175, 79),
),
Bird(
name: 'Robin',
- svgAsset: 'assets/birds/Robin.svg',
- soundAsset: 'assets/birds/Robin.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.robin),
+ soundAsset: AssetsPath.getBirdSound(Birds.robinSound),
backgroundColor: const Color.fromARGB(194, 157, 82, 222),
),
Bird(
name: 'Crow',
- svgAsset: 'assets/birds/Crow.svg',
- soundAsset: 'assets/birds/Crow.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.crow),
+ soundAsset: AssetsPath.getBirdSound(Birds.crowSound),
backgroundColor: const Color.fromARGB(193, 76, 207, 222),
),
Bird(
name: 'Seagull',
- svgAsset: 'assets/birds/Seagull.svg',
- soundAsset: 'assets/birds/Seagull.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.seagull),
+ soundAsset: AssetsPath.getBirdSound(Birds.seagullSound),
backgroundColor: const Color.fromARGB(193, 21, 234, 28),
),
Bird(
name: 'Duck',
- svgAsset: 'assets/birds/Duck.svg',
- soundAsset: 'assets/birds/Duck.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.duck),
+ soundAsset: AssetsPath.getBirdSound(Birds.duckSound),
backgroundColor: const Color.fromARGB(193, 226, 221, 70),
),
Bird(
name: 'Hen',
- svgAsset: 'assets/birds/Hen.svg',
- soundAsset: 'assets/birds/Hen.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.hen),
+ soundAsset: AssetsPath.getBirdSound(Birds.henSound),
backgroundColor: const Color.fromARGB(138, 48, 59, 48),
),
Bird(
name: 'Eagle',
- svgAsset: 'assets/birds/Eagle.svg',
- soundAsset: 'assets/birds/Eagle.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.eagle),
+ soundAsset: AssetsPath.getBirdSound(Birds.eagleSound),
backgroundColor: const Color.fromARGB(154, 221, 214, 209),
),
Bird(
name: 'Owl',
- svgAsset: 'assets/birds/Owl.svg',
- soundAsset: 'assets/birds/Owl.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.owl),
+ soundAsset: AssetsPath.getBirdSound(Birds.owlSound),
backgroundColor: const Color.fromARGB(193, 76, 175, 79),
),
Bird(
name: 'Hummingbird',
- svgAsset: 'assets/birds/Hummingbird.svg',
- soundAsset: 'assets/birds/Hummingbird.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.hummingbird),
+ soundAsset: AssetsPath.getBirdSound(Birds.hummingbirdSound),
backgroundColor: const Color.fromARGB(151, 40, 137, 248),
),
Bird(
name: 'Parrot',
- svgAsset: 'assets/birds/Parrot.svg',
- soundAsset: 'assets/birds/Parrot.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.parrot),
+ soundAsset: AssetsPath.getBirdSound(Birds.parrotSound),
backgroundColor: const Color.fromARGB(193, 240, 241, 170),
),
Bird(
name: 'Swan',
- svgAsset: 'assets/birds/Swan.svg',
- soundAsset: 'assets/birds/Swan.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.swan),
+ soundAsset: AssetsPath.getBirdSound(Birds.swanSound),
backgroundColor: const Color.fromARGB(193, 125, 176, 127),
),
Bird(
name: 'Goose',
- svgAsset: 'assets/birds/Goose.svg',
- soundAsset: 'assets/birds/Goose.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.goose),
+ soundAsset: AssetsPath.getBirdSound(Birds.gooseSound),
backgroundColor: const Color.fromARGB(139, 175, 140, 76),
),
Bird(
name: 'Woodpecker',
- svgAsset: 'assets/birds/Woodpecker.svg',
- soundAsset: 'assets/birds/Woodpecker.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.woodpecker),
+ soundAsset: AssetsPath.getBirdSound(Birds.woodpeckerSound),
backgroundColor: const Color.fromARGB(157, 251, 151, 0),
),
Bird(
name: 'Kingfisher',
- svgAsset: 'assets/birds/Kingfisher.svg',
- soundAsset: 'assets/birds/Kingfisher.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.kingfisher),
+ soundAsset: AssetsPath.getBirdSound(Birds.kingfisherSound),
backgroundColor: const Color.fromARGB(193, 187, 74, 178),
),
Bird(
name: 'Ostrich',
- svgAsset: 'assets/birds/Ostrich.svg',
- soundAsset: 'assets/birds/Ostrich.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.ostrich),
+ soundAsset: AssetsPath.getBirdSound(Birds.ostrichSound),
backgroundColor: const Color.fromARGB(193, 182, 221, 252),
),
Bird(
name: 'Vulture',
- svgAsset: 'assets/birds/Vulture.svg',
- soundAsset: 'assets/birds/Vulture.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.vulture),
+ soundAsset: AssetsPath.getBirdSound(Birds.vultureSound),
backgroundColor: const Color.fromARGB(98, 243, 201, 33),
),
Bird(
name: 'Maina',
- svgAsset: 'assets/birds/Maina.svg',
- soundAsset: 'assets/birds/Maina.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.maina),
+ soundAsset: AssetsPath.getBirdSound(Birds.mainaSound),
backgroundColor: const Color.fromARGB(255, 73, 179, 63),
),
Bird(
name: 'Bulbul',
- svgAsset: 'assets/birds/Bulbul.svg',
- soundAsset: 'assets/birds/Bulbul.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.bulbul),
+ soundAsset: AssetsPath.getBirdSound(Birds.bulbulSound),
backgroundColor: const Color.fromARGB(156, 128, 222, 243),
),
Bird(
name: 'Koel',
- svgAsset: 'assets/birds/Koel.svg',
- soundAsset: 'assets/birds/Koel.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.koel),
+ soundAsset:AssetsPath.getBirdSound(Birds.koelSound),
backgroundColor: const Color.fromARGB(232, 141, 255, 93),
),
Bird(
name: 'Baya',
- svgAsset: 'assets/birds/Baya.svg',
- soundAsset: 'assets/birds/Baya.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.baya),
+ soundAsset: AssetsPath.getBirdSound(Birds.bayaSound),
backgroundColor: const Color.fromARGB(193, 106, 190, 101),
),
Bird(
name: 'Bagula',
- svgAsset: 'assets/birds/Bagula.svg',
- soundAsset: 'assets/birds/Bagula.mp3',
+ svgAsset: AssetsPath.getBirdImage(Birds.bagula),
+ soundAsset: AssetsPath.getBirdSound(Birds.bagulaSound),
backgroundColor: const Color.fromARGB(156, 248, 248, 248),
),
];
diff --git a/lib/widgets/drawer.dart b/lib/widgets/drawer.dart
index 1e122f6..e4ded91 100644
--- a/lib/widgets/drawer.dart
+++ b/lib/widgets/drawer.dart
@@ -116,7 +116,7 @@ class MyDrawer extends StatelessWidget {
context: context,
),
_buildListTileSVG(
- icon: AssetsPath.getFlowerImage('flower-icon.svg'),
+ icon: AssetsPath.getFlowerImage(Flowers.flowerIcon),
title: "Flowers",
onTap: () {
Navigator.pushNamed(context, AllRoutes.flowerRoute);
diff --git a/pubspec.yaml b/pubspec.yaml
index 81b149c..ff681fb 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -71,14 +71,18 @@ flutter:
# To add assets to your application, add an assets section, like this:
assets:
- assets/images/
- - assets/sounds/
+ - assets/sounds/animals/
+ - assets/sounds/birds/
+ - assets/images/alphabet/
+ - assets/images/animal/
+ - assets/images/body/
+ - assets/images/birds/
+ - assets/images/solar/
- assets/colours/
- - assets/body/
- - assets/birds/
- - assets/solar/
- assets/images/flowers/
- assets/explore/
- assets/seasons/
+ - assets/occupations/
- assets/fruitsVeges/