1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-09 14:28:51 +00:00

web/chart: fix sample (#909)

This commit is contained in:
Brett Morgan
2021-10-07 08:10:34 +11:00
committed by GitHub
parent 0fe216a1cf
commit 2d9ba2f9eb
118 changed files with 3655 additions and 3511 deletions

View File

@@ -53,7 +53,7 @@ class Home extends StatelessWidget {
Home(
{Key key,
this.showPerformanceOverlay,
this.onShowPerformanceOverlayChanged})
@required this.onShowPerformanceOverlayChanged})
: super(key: key) {
assert(onShowPerformanceOverlayChanged != null);
}
@@ -106,12 +106,12 @@ class Home extends StatelessWidget {
_setupPerformance();
return new Scaffold(
drawer: new GalleryDrawer(
return Scaffold(
drawer: GalleryDrawer(
showPerformanceOverlay: showPerformanceOverlay,
onShowPerformanceOverlayChanged: onShowPerformanceOverlayChanged),
appBar: new AppBar(title: new Text(defaultConfig.appName)),
body: new ListView(padding: kMaterialListPadding, children: galleries),
appBar: AppBar(title: Text(defaultConfig.appName)),
body: ListView(padding: kMaterialListPadding, children: galleries),
);
}