mirrored_repositories/guardian
import 'package:flutter/material.dart';
import 'package:provider/provider.dart';

import 'package:guardian/global.dart';
import 'package:guardian/pages/landing/index.dart';
import 'package:guardian/pages/quizzes/index.dart';

class Application extends StatelessWidget {
  // This widget is the root of your application.
  @override
  Widget build(BuildContext context) {
    return MultiProvider(
      providers: [
        Provider<QuizStore>(
          builder: (_) => QuizStore(),
        ),
      ],
      child: MaterialApp(
        debugShowCheckedModeBanner: false,
        title: 'Flutter Demo',
        theme: applicationTheme,
        initialRoute: Landing.routeName,
        routes: {
          Landing.routeName: (context) => Landing(),
          Quizzes.routeName: (context) => Quizzes(),
        },
      ),
    );
  }
}
