From 89eb0e03fbfaf70b09923517f6a3c011166e56bf Mon Sep 17 00:00:00 2001 From: Ankita Soni Date: Wed, 10 Jan 2024 22:58:17 +0530 Subject: [PATCH] icon launcher added --- lib/screens/home_screen.dart | 3 +-- lib/screens/quiz_screen.dart | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/lib/screens/home_screen.dart b/lib/screens/home_screen.dart index fbfd411..77eb320 100644 --- a/lib/screens/home_screen.dart +++ b/lib/screens/home_screen.dart @@ -1,4 +1,3 @@ -import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:quiz_app3/constants/colors.dart'; import 'package:quiz_app3/constants/images.dart'; @@ -22,7 +21,7 @@ class HomeScreen extends StatelessWidget { child: Column( crossAxisAlignment: CrossAxisAlignment.start, children: [ - backButton(onPressed: (){ + backButton(onPressed: () { Navigator.pop(context); }), Image.asset( diff --git a/lib/screens/quiz_screen.dart b/lib/screens/quiz_screen.dart index 8f4f67f..a7b9795 100644 --- a/lib/screens/quiz_screen.dart +++ b/lib/screens/quiz_screen.dart @@ -1,6 +1,5 @@ import 'dart:async'; -import 'package:flutter/cupertino.dart'; import 'package:flutter/material.dart'; import 'package:quiz_app3/constants/colors.dart'; import 'package:quiz_app3/constants/images.dart';