diff --git a/packages/neon/neon_files/lib/neon_files.dart b/packages/neon/neon_files/lib/neon_files.dart index 724f058b..0f21a143 100644 --- a/packages/neon/neon_files/lib/neon_files.dart +++ b/packages/neon/neon_files/lib/neon_files.dart @@ -47,13 +47,13 @@ class FilesApp extends AppImplementation { FilesApp(); @override - String id = AppIDs.files; + final String id = AppIDs.files; @override - LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; + final LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; @override - List supportedLocales = AppLocalizations.supportedLocales; + final List supportedLocales = AppLocalizations.supportedLocales; @override late final FilesAppSpecificOptions options = FilesAppSpecificOptions(storage); @@ -65,8 +65,8 @@ class FilesApp extends AppImplementation { ); @override - Widget get page => const FilesMainPage(); + final Widget page = const FilesMainPage(); @override - RouteBase get route => $filesAppRoute; + final RouteBase route = $filesAppRoute; } diff --git a/packages/neon/neon_news/lib/neon_news.dart b/packages/neon/neon_news/lib/neon_news.dart index c6cf5125..8e5c18cd 100644 --- a/packages/neon/neon_news/lib/neon_news.dart +++ b/packages/neon/neon_news/lib/neon_news.dart @@ -55,13 +55,13 @@ class NewsApp extends AppImplementation { NewsApp(); @override - String id = AppIDs.news; + final String id = AppIDs.news; @override - LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; + final LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; @override - List supportedLocales = AppLocalizations.supportedLocales; + final List supportedLocales = AppLocalizations.supportedLocales; @override late final NewsAppSpecificOptions options = NewsAppSpecificOptions(storage); @@ -73,10 +73,10 @@ class NewsApp extends AppImplementation { ); @override - Widget get page => const NewsMainPage(); + final Widget page = const NewsMainPage(); @override - RouteBase get route => $newsAppRoute; + final RouteBase route = $newsAppRoute; @override BehaviorSubject getUnreadCounter(final NewsBloc bloc) => bloc.unreadCounter; diff --git a/packages/neon/neon_notes/lib/neon_notes.dart b/packages/neon/neon_notes/lib/neon_notes.dart index 96040a89..f44a5384 100644 --- a/packages/neon/neon_notes/lib/neon_notes.dart +++ b/packages/neon/neon_notes/lib/neon_notes.dart @@ -45,13 +45,13 @@ class NotesApp extends AppImplementation { NotesApp(); @override - String id = AppIDs.notes; + final String id = AppIDs.notes; @override - List supportedLocales = AppLocalizations.supportedLocales; + final List supportedLocales = AppLocalizations.supportedLocales; @override - LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; + final LocalizationsDelegate localizationsDelegate = AppLocalizations.delegate; @override late final NotesAppSpecificOptions options = NotesAppSpecificOptions(storage); @@ -63,8 +63,8 @@ class NotesApp extends AppImplementation { ); @override - Widget get page => const NotesMainPage(); + final Widget page = const NotesMainPage(); @override - RouteBase get route => $notesAppRoute; + final RouteBase route = $notesAppRoute; } diff --git a/packages/neon/neon_notifications/lib/neon_notifications.dart b/packages/neon/neon_notifications/lib/neon_notifications.dart index 9da97fca..7082cfff 100644 --- a/packages/neon/neon_notifications/lib/neon_notifications.dart +++ b/packages/neon/neon_notifications/lib/neon_notifications.dart @@ -25,13 +25,13 @@ class NotificationsApp extends AppImplementation supportedLocales = AppLocalizations.supportedLocales; + final List supportedLocales = AppLocalizations.supportedLocales; @override late final NotificationsAppSpecificOptions options = NotificationsAppSpecificOptions(storage); @@ -43,10 +43,10 @@ class NotificationsApp extends AppImplementation const NotificationsMainPage(); + final Widget page = const NotificationsMainPage(); @override - RouteBase get route => $notificationsAppRoute; + final RouteBase route = $notificationsAppRoute; @override BehaviorSubject getUnreadCounter(final NotificationsBloc bloc) => bloc.unreadCounter;