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:
vjrj 2026-03-06 11:21:06 +01:00
parent 1864e5b105
commit 7a4c9fb3bc
61 changed files with 1386 additions and 1202 deletions

View file

@ -8,7 +8,7 @@ enum LogLevel { none, actions, all }
void main() async {
globals.isDevelopment = true;
debugPrint("Is development!");
debugPrint('Is development!');
// Simple logging middleware para desarrollo
Middleware<dynamic> createLoggingMiddleware() {
@ -18,10 +18,10 @@ void main() async {
};
}
LogLevel logRedux = LogLevel.actions;
const LogLevel logRedux = LogLevel.actions;
List<Middleware<dynamic>> devMiddlewares =
logRedux == LogLevel.actions ? [] : [createLoggingMiddleware()];
final List<Middleware<dynamic>> devMiddlewares =
logRedux == LogLevel.actions ? <Middleware<dynamic>>[] : <Middleware<dynamic>>[createLoggingMiddleware()];
// In development, Sentry is disabled, so we skip initialization
await mainCommon(devMiddlewares);