Skip to content

Commit dcb00df

Browse files
Added the sample review changes
1 parent fc0e788 commit dcb00df

File tree

1 file changed

+18
-18
lines changed

1 file changed

+18
-18
lines changed

lib/samples/chart/cartesian_charts/axis_types/date_time_category/default_date_time_category.dart

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -61,25 +61,25 @@ class _DateTimeCategoryDefaultState extends SampleViewState {
6161
),
6262
plotBands: <PlotBand>[
6363
PlotBand(
64-
start: DateTime(2017, 12, 22),
65-
end: DateTime(2017, 12, 27),
66-
textAngle: 0,
67-
verticalTextAlignment: TextAnchor.start,
68-
verticalTextPadding: '%-5',
69-
text: 'Christmas Offer \nDec 2017',
70-
textStyle: TextStyle(color: labelColor, fontSize: 13),
71-
color: const Color.fromRGBO(50, 198, 255, 1),
72-
opacity: 0.3),
64+
start: DateTime(2017, 12, 22),
65+
end: DateTime(2017, 12, 27),
66+
textAngle: 0,
67+
verticalTextAlignment: TextAnchor.start,
68+
verticalTextPadding: '%-5',
69+
text: 'Christmas Offer \nDec 2017',
70+
textStyle: TextStyle(color: labelColor, fontSize: 13),
71+
color: const Color.fromRGBO(50, 198, 255, 1).withOpacity(0.3),
72+
),
7373
PlotBand(
74-
textAngle: 0,
75-
start: DateTime(2018, 1, 2),
76-
end: DateTime(2018, 1, 4),
77-
verticalTextAlignment: TextAnchor.start,
78-
verticalTextPadding: '%-5',
79-
text: 'New Year Offer \nJan 2018',
80-
textStyle: TextStyle(color: labelColor, fontSize: 13),
81-
color: Colors.pink,
82-
opacity: 0.2),
74+
textAngle: 0,
75+
start: DateTime(2018, 1, 2),
76+
end: DateTime(2018, 1, 4),
77+
verticalTextAlignment: TextAnchor.start,
78+
verticalTextPadding: '%-5',
79+
text: 'New Year Offer \nJan 2018',
80+
textStyle: TextStyle(color: labelColor, fontSize: 13),
81+
color: Colors.pink.withOpacity(0.2),
82+
),
8383
]),
8484
tooltipBehavior: _tooltipBehavior,
8585
title:

0 commit comments

Comments
 (0)