David PHAM-VAN

Fix lint warnings

... ... @@ -76,12 +76,12 @@ class Calendar extends StatelessWidget {
PdfColor color = PdfColors.grey300;
if (currentDay) {
style = TextStyle(color: PdfColors.red);
style = const TextStyle(color: PdfColors.red);
color = PdfColors.lightBlue50;
}
if (!currentMonth) {
style = TextStyle(color: PdfColors.grey);
style = const TextStyle(color: PdfColors.grey);
color = PdfColors.grey100;
}
... ...
... ... @@ -37,7 +37,7 @@ Uint8List buildPdf() {
child: FittedBox(
child: Text(
'Hello!',
style: TextStyle(color: PdfColors.blueGrey),
style: const TextStyle(color: PdfColors.blueGrey),
),
),
);
... ...