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
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue