Showing
3 changed files
with
3 additions
and
2 deletions
| @@ -213,7 +213,7 @@ void main() { | @@ -213,7 +213,7 @@ void main() { | ||
| 213 | child: UrlLink( | 213 | child: UrlLink( |
| 214 | child: Text( | 214 | child: Text( |
| 215 | 'https://github.com/DavBfr/dart_pdf/', | 215 | 'https://github.com/DavBfr/dart_pdf/', |
| 216 | - style: TextStyle( | 216 | + style: const TextStyle( |
| 217 | color: PdfColors.grey, | 217 | color: PdfColors.grey, |
| 218 | fontSize: 8, | 218 | fontSize: 8, |
| 219 | decoration: TextDecoration.underline, | 219 | decoration: TextDecoration.underline, |
| @@ -147,7 +147,7 @@ void main() { | @@ -147,7 +147,7 @@ void main() { | ||
| 147 | para, | 147 | para, |
| 148 | style: TextStyle( | 148 | style: TextStyle( |
| 149 | font: ttf, | 149 | font: ttf, |
| 150 | - background: BoxDecoration(color: PdfColors.purple50), | 150 | + background: const BoxDecoration(color: PdfColors.purple50), |
| 151 | ), | 151 | ), |
| 152 | ), | 152 | ), |
| 153 | ])); | 153 | ])); |
-
Please register or login to post a comment