@@ -205,7 +205,6 @@ class AssetPicker<Asset, Path> extends StatefulWidget {
205
205
if (light) {
206
206
return ThemeData .light ().copyWith (
207
207
primaryColor: Colors .grey[50 ],
208
- primaryColorBrightness: Brightness .dark,
209
208
primaryColorLight: Colors .grey[50 ],
210
209
primaryColorDark: Colors .grey[50 ],
211
210
canvasColor: Colors .grey[100 ],
@@ -230,9 +229,7 @@ class AssetPicker<Asset, Path> extends StatefulWidget {
230
229
buttonTheme: ButtonThemeData (buttonColor: themeColor),
231
230
colorScheme: ColorScheme (
232
231
primary: Colors .grey[50 ]! ,
233
- primaryVariant: Colors .grey[50 ]! ,
234
232
secondary: themeColor,
235
- secondaryVariant: themeColor,
236
233
background: Colors .grey[50 ]! ,
237
234
surface: Colors .grey[50 ]! ,
238
235
brightness: Brightness .light,
@@ -247,7 +244,6 @@ class AssetPicker<Asset, Path> extends StatefulWidget {
247
244
}
248
245
return ThemeData .dark ().copyWith (
249
246
primaryColor: Colors .grey[900 ],
250
- primaryColorBrightness: Brightness .dark,
251
247
primaryColorLight: Colors .grey[900 ],
252
248
primaryColorDark: Colors .grey[900 ],
253
249
canvasColor: Colors .grey[850 ],
@@ -272,9 +268,7 @@ class AssetPicker<Asset, Path> extends StatefulWidget {
272
268
buttonTheme: ButtonThemeData (buttonColor: themeColor),
273
269
colorScheme: ColorScheme (
274
270
primary: Colors .grey[900 ]! ,
275
- primaryVariant: Colors .grey[900 ]! ,
276
271
secondary: themeColor,
277
- secondaryVariant: themeColor,
278
272
background: Colors .grey[900 ]! ,
279
273
surface: Colors .grey[900 ]! ,
280
274
brightness: Brightness .dark,
0 commit comments