Skip to content

Commit

Permalink
Merge pull request #176 from Antrimo/master
Browse files Browse the repository at this point in the history
listed all the flowers
  • Loading branch information
sapatevaibhav authored Jun 19, 2024
2 parents d753c1f + e5377cf commit f09df66
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions lib/pages/explore/quiz.dart
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,10 @@ class _QuizState extends State<Quiz> {
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",
Expand Down
1 change: 0 additions & 1 deletion lib/pages/modules/colours.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';

Expand Down
2 changes: 0 additions & 2 deletions lib/pages/modules/flowers.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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});
Expand Down
1 change: 0 additions & 1 deletion lib/pages/modules/planets.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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';
Expand Down
3 changes: 3 additions & 0 deletions lib/utils/assets_path.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit f09df66

Please sign in to comment.