diff --git a/analysis_options.yaml b/analysis_options.yaml index 06a768b..d9ed12b 100644 --- a/analysis_options.yaml +++ b/analysis_options.yaml @@ -21,7 +21,8 @@ linter: # `// ignore_for_file: name_of_lint` syntax on the line or in the file # producing the lint. rules: - - collection_methods_unrelated_type + collection_methods_unrelated_type: false + use_build_context_synchronously: false # avoid_print: false # Uncomment to disable the `avoid_print` rule # prefer_single_quotes: true # Uncomment to enable the `prefer_single_quotes` rule diff --git a/lib/pages/home_page.dart b/lib/pages/home_page.dart index ad0c062..e8cca1a 100644 --- a/lib/pages/home_page.dart +++ b/lib/pages/home_page.dart @@ -1,6 +1,5 @@ import 'dart:io'; -import 'package:file_picker/file_picker.dart'; import 'package:flutter/foundation.dart'; import 'package:flutter/material.dart'; import 'package:venera/components/components.dart'; @@ -228,7 +227,7 @@ class _Local extends StatelessWidget { } class _ImportComicsWidget extends StatefulWidget { - const _ImportComicsWidget({super.key}); + const _ImportComicsWidget(); @override State<_ImportComicsWidget> createState() => _ImportComicsWidgetState();