daniel
Committed by David PHAM-VAN

Add color to DropdownMenuItem in pageFormat list

@@ -302,7 +302,11 @@ class _PdfPreviewState extends State<PdfPreview> { @@ -302,7 +302,11 @@ class _PdfPreviewState extends State<PdfPreview> {
302 final key = keys[index]; 302 final key = keys[index];
303 final val = _pageFormats[key]; 303 final val = _pageFormats[key];
304 return DropdownMenuItem<PdfPageFormat>( 304 return DropdownMenuItem<PdfPageFormat>(
305 - child: Text(key), 305 + child: Text(key,
  306 + style: TextStyle(
  307 + color: theme.accentIconTheme.color
  308 + )
  309 + ),
306 value: val, 310 value: val,
307 ); 311 );
308 }, 312 },