Committed by
David PHAM-VAN
Add backgroundcolor to DropdownMenuItem in pageFormat list
Showing
1 changed file
with
1 additions
and
0 deletions
@@ -291,6 +291,7 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -291,6 +291,7 @@ class _PdfPreviewState extends State<PdfPreview> { | ||
291 | final keys = _pageFormats.keys.toList(); | 291 | final keys = _pageFormats.keys.toList(); |
292 | actions.add( | 292 | actions.add( |
293 | DropdownButton<PdfPageFormat>( | 293 | DropdownButton<PdfPageFormat>( |
294 | + dropdownColor: theme.primaryColor, | ||
294 | icon: Icon( | 295 | icon: Icon( |
295 | Icons.arrow_drop_down, | 296 | Icons.arrow_drop_down, |
296 | color: theme.accentIconTheme.color, | 297 | color: theme.accentIconTheme.color, |
-
Please register or login to post a comment