File tree Expand file tree Collapse file tree 1 file changed +21
-25
lines changed
Expand file tree Collapse file tree 1 file changed +21
-25
lines changed Original file line number Diff line number Diff line change @@ -172,36 +172,32 @@ class HeatMapPage extends StatelessWidget {
172172
173173 @override
174174 Widget build (BuildContext context) {
175- return Column (
176- children: < Widget > [
177- Row (
178- mainAxisSize: MainAxisSize .min,
175+ return Row (
176+ mainAxisSize: MainAxisSize .min,
177+ children: [
178+ // Show week labels to left side of heatmap.
179+ HeatMapWeekText (
180+ margin: margin,
181+ fontSize: fontSize,
182+ size: size,
183+ fontColor: labelColor,
184+ weekDayLabels: _localizedWeekDayLabels,
185+ ),
186+ Column (
187+ crossAxisAlignment: CrossAxisAlignment .start,
179188 children: [
180- // Show week labels to left side of heatmap.
181- HeatMapWeekText (
189+ // Show month labels to top of heatmap.
190+ HeatMapMonthText (
191+ firstDayInfos: _firstDayInfos,
182192 margin: margin,
183193 fontSize: fontSize,
184- size: size,
185194 fontColor: labelColor,
186- weekDayLabels : _localizedWeekDayLabels ,
195+ size : size ,
187196 ),
188- Column (
189- crossAxisAlignment: CrossAxisAlignment .start,
190- children: [
191- // Show month labels to top of heatmap.
192- HeatMapMonthText (
193- firstDayInfos: _firstDayInfos,
194- margin: margin,
195- fontSize: fontSize,
196- fontColor: labelColor,
197- size: size,
198- ),
199-
200- // Heatmap itself.
201- Row (
202- children: < Widget > [..._heatmapColumnList (context)],
203- ),
204- ],
197+
198+ // Heatmap itself.
199+ Row (
200+ children: < Widget > [..._heatmapColumnList (context)],
205201 ),
206202 ],
207203 ),
You can’t perform that action at this time.
0 commit comments