Showing
1 changed file
with
7 additions
and
5 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,9 +329,11 @@ class _PdfPreviewState extends State<PdfPreview> { | @@ -329,9 +329,11 @@ 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: Row( | ||
| 333 | - mainAxisAlignment: MainAxisAlignment.spaceAround, | ||
| 334 | - children: actions, | 332 | + child: SafeArea( |
| 333 | + child: Row( | ||
| 334 | + mainAxisAlignment: MainAxisAlignment.spaceAround, | ||
| 335 | + children: actions, | ||
| 336 | + ), | ||
| 335 | ), | 337 | ), |
| 336 | ) | 338 | ) |
| 337 | ], | 339 | ], |
-
Please register or login to post a comment