mirrored_repositories/EcoVille
import 'HomePage.dart';
import 'package:flutter/material.dart';
import 'game.dart';
import 'package:hackathon/calculate/fitness.dart';
import 'package:hackathon/mainPage/main2.dart';
import 'package:hackathon/tracker/track.dart';
import 'package:hackathon/CovidQuiz/MainQuiz.dart';
import 'package:hackathon/precaution/pre.dart';
import 'package:hackathon/aboutUs.dart';


void main()
{
  runApp(new MyApp());
}

class MyApp extends StatelessWidget
{
  @override
  Widget build(BuildContext context)
  {
    return new MaterialApp
      (
      title: "Blog App",
      theme: new ThemeData(
        primarySwatch: Colors.pink,
      ),
      //home:HomePage(),
      initialRoute: MainScreen.id,
      routes: {
        HomePage.id:(context) => HomePage(),
        FitnessScreen.id:(context) => FitnessScreen(),
        GameScreen.id:(context) => GameScreen(),
        MainScreen.id:(context) => MainScreen(),
        TrackScreen.id:(context) => TrackScreen(),
        MainQuizScreen.id:(context) => MainQuizScreen(),
        PrecautionScreen.id:(context) => PrecautionScreen(),
        AboutScreen.id:(context) => AboutScreen(),
      },
    );

  }
}