@@ -110,10 +110,10 @@ class _MaterialPickerState extends State<MaterialPicker> {
110110 height: _isPortrait ? null : 60 ,
111111 decoration: BoxDecoration (
112112 color: Theme .of (context).cardColor,
113- boxShadow: [BoxShadow (color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) , blurRadius: 10 )],
113+ boxShadow: [BoxShadow (color: Theme .of (context).cardColor , blurRadius: 10 )],
114114 border: _isPortrait
115- ? Border (right: BorderSide (color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) , width: 1 ))
116- : Border (top: BorderSide (color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) , width: 1 )),
115+ ? Border (right: BorderSide (color: Theme .of (context).cardColor , width: 1 ))
116+ : Border (top: BorderSide (color: Theme .of (context).cardColor , width: 1 )),
117117 ),
118118 child: ScrollConfiguration (
119119 behavior: ScrollConfiguration .of (context).copyWith (dragDevices: PointerDeviceKind .values.toSet ()),
@@ -146,7 +146,7 @@ class _MaterialPickerState extends State<MaterialPicker> {
146146 ? [
147147 _colorType == Theme .of (context).cardColor
148148 ? BoxShadow (
149- color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) ,
149+ color: Theme .of (context).cardColor ,
150150 blurRadius: 10 ,
151151 )
152152 : BoxShadow (
@@ -156,7 +156,7 @@ class _MaterialPickerState extends State<MaterialPicker> {
156156 ]
157157 : null ,
158158 border: _colorType == Theme .of (context).cardColor
159- ? Border .all (color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) , width: 1 )
159+ ? Border .all (color: Theme .of (context).cardColor , width: 1 )
160160 : null ,
161161 ),
162162 ),
@@ -207,7 +207,7 @@ class _MaterialPickerState extends State<MaterialPicker> {
207207 ? [
208208 (_color == Colors .white) || (_color == Colors .black)
209209 ? BoxShadow (
210- color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) ,
210+ color: Theme .of (context).cardColor ,
211211 blurRadius: 10 ,
212212 )
213213 : BoxShadow (
@@ -217,7 +217,7 @@ class _MaterialPickerState extends State<MaterialPicker> {
217217 ]
218218 : null ,
219219 border: (_color == Colors .white) || (_color == Colors .black)
220- ? Border .all (color: Theme .of (context).primaryColorLight. withAlpha ( 80 ) , width: 1 )
220+ ? Border .all (color: Theme .of (context).cardColor , width: 1 )
221221 : null ,
222222 ),
223223 child: widget.enableLabel
0 commit comments