Showing
1 changed file
with
4 additions
and
2 deletions
@@ -254,8 +254,8 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -254,8 +254,8 @@ class _PdfPreviewState extends State<PdfPreview> { | ||
254 | final List<String> keys = _pageFormats.keys.toList(); | 254 | final List<String> keys = _pageFormats.keys.toList(); |
255 | actions.add( | 255 | actions.add( |
256 | DropdownButton<PdfPageFormat>( | 256 | DropdownButton<PdfPageFormat>( |
257 | - style: theme.accentTextTheme.button, | ||
258 | - // dropdownColor: Colors.grey.shade700, | 257 | + // style: theme.accentTextTheme.button, |
258 | + dropdownColor: Colors.grey.shade700, | ||
259 | icon: Icon( | 259 | icon: Icon( |
260 | Icons.arrow_drop_down, | 260 | Icons.arrow_drop_down, |
261 | color: theme.accentIconTheme.color, | 261 | color: theme.accentIconTheme.color, |
@@ -329,10 +329,12 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -329,10 +329,12 @@ class _PdfPreviewState extends State<PdfPreview> { | ||
329 | Material( | 329 | Material( |
330 | elevation: 4, | 330 | elevation: 4, |
331 | color: theme.primaryColor, | 331 | color: theme.primaryColor, |
332 | + child: SafeArea( | ||
332 | child: Row( | 333 | child: Row( |
333 | mainAxisAlignment: MainAxisAlignment.spaceAround, | 334 | mainAxisAlignment: MainAxisAlignment.spaceAround, |
334 | children: actions, | 335 | children: actions, |
335 | ), | 336 | ), |
337 | + ), | ||
336 | ) | 338 | ) |
337 | ], | 339 | ], |
338 | ); | 340 | ); |
-
Please register or login to post a comment