Created
May 29, 2020 08:00
-
-
Save NITIN-ME/adaa8e029ea53ff369474dfeb91c1c50 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import 'package:flutter/material.dart'; | |
import 'dart:convert' as convert; | |
import 'package:http/http.dart' as http; | |
import 'graph.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( | |
initialRoute: '/', | |
routes: { | |
'/': (context) => MyHomePage(), | |
'/graph': (context) => GraphPage(), | |
}, | |
title: 'Corona Tracker', | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment