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
|
|
@ -4,9 +4,9 @@ import 'package:sentry_flutter/sentry_flutter.dart';
|
|||
|
||||
import 'globals.dart' as globals;
|
||||
|
||||
var useSentry = !globals.isDevelopment;
|
||||
bool useSentry = !globals.isDevelopment;
|
||||
|
||||
Future<Null> reportError(dynamic error, dynamic stackTrace) async {
|
||||
Future<void> reportError(dynamic error, dynamic stackTrace) async {
|
||||
// Print the exception to the console
|
||||
|
||||
print('Caught error: $error');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue