diff --git a/lib/pages/explore/quiz.dart b/lib/pages/explore/quiz.dart index 6733a2c..1723f64 100644 --- a/lib/pages/explore/quiz.dart +++ b/lib/pages/explore/quiz.dart @@ -168,10 +168,10 @@ class _QuizState extends State { minimumSize: Size(width * 0.7, 60), ), onPressed: () { - Navigator.of(context).pop(); + // Navigator.of(context).pop(); Navigator.of(context) .pushReplacementNamed( - AllRoutesConstant.homeRoute); + AllRoutesConstant.mainhomeRoute); }, child: Text( "Go Back", diff --git a/lib/pages/modules/colours.dart b/lib/pages/modules/colours.dart index b82c475..347a1bd 100644 --- a/lib/pages/modules/colours.dart +++ b/lib/pages/modules/colours.dart @@ -3,7 +3,6 @@ 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'; // import '../../utils/const_dimensions.dart'; import 'package:learn/models/colours_model.dart'; diff --git a/lib/pages/modules/flowers.dart b/lib/pages/modules/flowers.dart index 8b09405..1112dfb 100644 --- a/lib/pages/modules/flowers.dart +++ b/lib/pages/modules/flowers.dart @@ -2,10 +2,8 @@ import 'package:flutter/material.dart'; import 'package:flutter_svg/flutter_svg.dart'; import 'package:flutter_tts/flutter_tts.dart'; import 'package:learn/models/flower_model.dart'; -import 'package:learn/utils/assets_path.dart'; import 'package:learn/utils/constants.dart'; -import '../../utils/const_dimensions.dart'; class FlowerPage extends StatefulWidget { const FlowerPage({super.key}); diff --git a/lib/pages/modules/planets.dart b/lib/pages/modules/planets.dart index 25abc4f..7bae0a4 100644 --- a/lib/pages/modules/planets.dart +++ b/lib/pages/modules/planets.dart @@ -4,7 +4,6 @@ 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'; import 'package:learn/utils/constants.dart'; import '../../utils/const_dimensions.dart'; import 'package:learn/models/planet_model.dart'; diff --git a/lib/utils/assets_path.dart b/lib/utils/assets_path.dart index 0cebf9c..34ddc1b 100644 --- a/lib/utils/assets_path.dart +++ b/lib/utils/assets_path.dart @@ -256,6 +256,9 @@ class Flowers { static const String dandelion = 'dandelion.svg'; static const String jasmine = 'jasmine.svg'; static const String lotus = 'lotus.svg'; + static const String poppy = 'poppy.svg'; + static const String carnation= 'carnation.svg'; + static const String daffodil= 'daffodil.svg'; } class SolarSystem {