Skip to content

Instantly share code, notes, and snippets.

@magicleon94
Created September 1, 2020 09:43
Show Gist options
  • Save magicleon94/69fccb4dd4835d03eec21c861596a8d6 to your computer and use it in GitHub Desktop.
Save magicleon94/69fccb4dd4835d03eec21c861596a8d6 to your computer and use it in GitHub Desktop.
HomePanel
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