Created
September 1, 2020 09:43
-
-
Save magicleon94/69fccb4dd4835d03eec21c861596a8d6 to your computer and use it in GitHub Desktop.
HomePanel
This file contains hidden or 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:corona_italy/features/infection_report/presentation/widgets/national_report_widget.dart'; | |
import 'package:corona_italy/features/infection_report/presentation/widgets/regions_report_list.dart'; | |
import 'package:flutter/material.dart'; | |
class HomePanel extends StatelessWidget { | |
final ScrollController scrollController; | |
const HomePanel({Key key, this.scrollController}) : super(key: key); | |
@override | |
Widget build(BuildContext context) { | |
return Column( | |
children: [ | |
NationalReportWidget(), | |
Expanded( | |
child: RegionsReportList( | |
scrollController: scrollController, | |
), | |
), | |
], | |
); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment