Created
May 29, 2020 08:07
-
-
Save NITIN-ME/21a84d9b7fc7b939156510d1ca05fdff 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 'package:charts_flutter/flutter.dart' as charts; | |
import 'main.dart'; | |
List<DataPoint> args; | |
class GraphPage extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
args = ModalRoute.of(context).settings.arguments; | |
return Scaffold( | |
appBar: AppBar( | |
title: Center( | |
child: Text( | |
'CoronaVirus Tracker', | |
), | |
), | |
backgroundColor: Colors.purple, | |
), | |
body: MyChartBody(), | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment