mirror of
https://github.com/flutter/samples.git
synced 2026-07-12 20:13:06 +00:00
web/chart: fix sample (#909)
This commit is contained in:
@@ -22,29 +22,29 @@ import 'rtl_series_legend.dart';
|
||||
|
||||
List<GalleryScaffold> buildGallery() {
|
||||
return [
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.flag),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.flag),
|
||||
title: 'RTL Bar Chart',
|
||||
subtitle: 'Simple bar chart in RTL',
|
||||
childBuilder: () => new RTLBarChart.withRandomData(),
|
||||
childBuilder: () => RTLBarChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.flag),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.flag),
|
||||
title: 'RTL Line Chart',
|
||||
subtitle: 'Simple line chart in RTL',
|
||||
childBuilder: () => new RTLLineChart.withRandomData(),
|
||||
childBuilder: () => RTLLineChart.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.flag),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.flag),
|
||||
title: 'RTL Line Segments',
|
||||
subtitle: 'Stacked area chart with style segments in RTL',
|
||||
childBuilder: () => new RTLLineSegments.withRandomData(),
|
||||
childBuilder: () => RTLLineSegments.withRandomData(),
|
||||
),
|
||||
new GalleryScaffold(
|
||||
listTileIcon: new Icon(Icons.flag),
|
||||
GalleryScaffold(
|
||||
listTileIcon: const Icon(Icons.flag),
|
||||
title: 'RTL Series Legend',
|
||||
subtitle: 'Series legend in RTL',
|
||||
childBuilder: () => new RTLSeriesLegend.withRandomData(),
|
||||
childBuilder: () => RTLSeriesLegend.withRandomData(),
|
||||
),
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user