@@ -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 \n Dec 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 \n Dec 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 \n Jan 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 \n Jan 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