Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
dart_pdf
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
David PHAM-VAN
2020-05-01 18:34:39 -0400
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
e72b0b145bbced4ec1d222c9adfc70e2a5d0e4ec
e72b0b14
1 parent
99e35549
Add SafeArea to PdfPreview
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
5 deletions
printing/lib/src/pdf_preview.dart
printing/lib/src/pdf_preview.dart
View file @
e72b0b1
...
...
@@ -254,8 +254,8 @@ class _PdfPreviewState extends State<PdfPreview> {
final
List
<
String
>
keys
=
_pageFormats
.
keys
.
toList
();
actions
.
add
(
DropdownButton
<
PdfPageFormat
>(
style:
theme
.
accentTextTheme
.
button
,
// dropdownColor: Colors.grey.shade700,
// style: theme.accentTextTheme.button,
dropdownColor:
Colors
.
grey
.
shade700
,
icon:
Icon
(
Icons
.
arrow_drop_down
,
color:
theme
.
accentIconTheme
.
color
,
...
...
@@ -329,9 +329,11 @@ class _PdfPreviewState extends State<PdfPreview> {
Material
(
elevation:
4
,
color:
theme
.
primaryColor
,
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceAround
,
children:
actions
,
child:
SafeArea
(
child:
Row
(
mainAxisAlignment:
MainAxisAlignment
.
spaceAround
,
children:
actions
,
),
),
)
],
...
...
Please
register
or
login
to post a comment