Fix linting issues

This commit is contained in:
Vishesh Handa
2023-02-16 13:33:32 +01:00
parent f5d68dd7cd
commit f880b15bbf

View File

@ -7,7 +7,6 @@
import 'dart:convert';
import 'package:flutter/material.dart';
import 'package:gitjournal/core/note.dart';
import 'package:gitjournal/core/notes/note.dart';
import 'package:gitjournal/utils/markdown.dart';
@ -73,8 +72,8 @@ class NoteTile extends StatelessWidget {
text: '${note.created.day} ${DateFormat('MMMM, yyyy').format(note.created)}\n${DateFormat('EEEE HH:mm').format(note.created)}',
maxLines: 2,
overflow: TextOverflow.ellipsis,
style: textTheme.headline6!
.copyWith(fontSize: textTheme.headline6!.fontSize! * 0.8),
style: textTheme.titleLarge!
.copyWith(fontSize: textTheme.titleLarge!.fontSize! * 0.8),
highlightText: searchTerm,
highlightTextLowerCase: searchTermLowerCase,
),