diff --git a/example/lib/main.dart b/example/lib/main.dart index 0f8e3d7..8f7ec40 100644 --- a/example/lib/main.dart +++ b/example/lib/main.dart @@ -1,3 +1,5 @@ +// ignore_for_file: prefer_match_file_name + import 'package:flutter/material.dart'; import 'package:languagetool_textfield/languagetool_textfield.dart'; diff --git a/lib/src/implementations/debounce_lang_tool_service.dart b/lib/src/implementations/debounce_lang_tool_service.dart index bcac7fe..e7fc013 100644 --- a/lib/src/implementations/debounce_lang_tool_service.dart +++ b/lib/src/implementations/debounce_lang_tool_service.dart @@ -21,6 +21,7 @@ class DebounceLangToolService extends LanguageCheckService { Future>?> findMistakes(String text) async => await debouncing.debounce(() => baseService.findMistakes(text)); + // ignore: proper_super_calls @override Future dispose() async { debouncing.close(); diff --git a/lib/src/implementations/throttling_lang_tool_service.dart b/lib/src/implementations/throttling_lang_tool_service.dart index 872374d..dfa6868 100644 --- a/lib/src/implementations/throttling_lang_tool_service.dart +++ b/lib/src/implementations/throttling_lang_tool_service.dart @@ -22,6 +22,7 @@ class ThrottlingLangToolService extends LanguageCheckService { Future>?> findMistakes(String text) async => throttling.throttle(() => baseService.findMistakes(text)); + // ignore: proper_super_calls @override Future dispose() async { throttling.close();