@@ -61,25 +61,25 @@ class _DateTimeCategoryDefaultState extends SampleViewState {
61
61
),
62
62
plotBands: < PlotBand > [
63
63
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
+ ),
73
73
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
+ ),
83
83
]),
84
84
tooltipBehavior: _tooltipBehavior,
85
85
title:
0 commit comments