Skip to content

Instantly share code, notes, and snippets.

@NITIN-ME
Created May 29, 2020 08:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NITIN-ME/adaa8e029ea53ff369474dfeb91c1c50 to your computer and use it in GitHub Desktop.
Save NITIN-ME/adaa8e029ea53ff369474dfeb91c1c50 to your computer and use it in GitHub Desktop.
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