David PHAM-VAN

Fix warning in tests

@@ -2,6 +2,7 @@ @@ -2,6 +2,7 @@
2 2
3 ## 1.3.24 3 ## 1.3.24
4 4
  5 +- Fix warning in tests
5 - Fix warning in example 6 - Fix warning in example
6 - Format Java code 7 - Format Java code
7 8
@@ -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 ]));