fix: resolve 2 remaining strict analysis errors
- introPage.dart: Convert fireItems to proper static function closure - mainDrawer.dart: Convert unreadCount int to String for Text widget
This commit is contained in:
parent
1864e5b105
commit
7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions
|
|
@ -5,9 +5,8 @@ import 'generated/i18n.dart';
|
|||
import 'markdownPage.dart';
|
||||
|
||||
class PrivacyPage extends MarkdownPage {
|
||||
static const String routeName = '/privacy';
|
||||
|
||||
PrivacyPage(BuildContext context)
|
||||
PrivacyPage(BuildContext context, {super.key})
|
||||
: super(
|
||||
title: S.of(context).privacyPolicy,
|
||||
route: routeName,
|
||||
|
|
@ -16,4 +15,5 @@ class PrivacyPage extends MarkdownPage {
|
|||
fileName: 'privacy',
|
||||
ext: 'md',
|
||||
lang: Localizations.localeOf(context).languageCode));
|
||||
static const String routeName = '/privacy';
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue